summaryrefslogtreecommitdiff
path: root/src/dock_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/dock_gui.cpp
parent452e1e332848cd0aa297a1d1eee0f23167313554 (diff)
downloadopenttd-3effad0beabe4a7ce4ddf5b55bab787e2d93fea3.tar.xz
Fix: Properly invalidate mouse-over station coverage highlight (#8263)
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r--src/dock_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp
index a5193a437..07c072d35 100644
--- a/src/dock_gui.cpp
+++ b/src/dock_gui.cpp
@@ -448,6 +448,7 @@ public:
this->LowerWidget(_settings_client.gui.station_show_coverage + BDSW_LT_OFF);
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
this->SetDirty();
+ SetViewportCatchmentStation(nullptr, true);
break;
}
}