summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
diff options
context:
space:
mode:
authorƁukasz Hryniuk <code@hryniuk.pl>2020-07-27 18:37:47 +0200
committerGitHub <noreply@github.com>2020-07-27 17:37:47 +0100
commit3effad0beabe4a7ce4ddf5b55bab787e2d93fea3 (patch)
treee507cf3924d6aa394e2321f4fde8e6f65922bcf1 /src/rail_gui.cpp
parent452e1e332848cd0aa297a1d1eee0f23167313554 (diff)
downloadopenttd-3effad0beabe4a7ce4ddf5b55bab787e2d93fea3.tar.xz
Fix: Properly invalidate mouse-over station coverage highlight (#8263)
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r--src/rail_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index c0a3f4457..788189dcc 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -1319,6 +1319,7 @@ public:
this->SetWidgetLoweredState(WID_BRAS_HIGHLIGHT_ON, _settings_client.gui.station_show_coverage);
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
this->SetDirty();
+ SetViewportCatchmentStation(nullptr, true);
break;
case WID_BRAS_NEWST_LIST: {