Fix: refresh coverage on option switch

This commit is contained in:
Łukasz Hryniuk
2020-07-04 21:55:52 +02:00
parent 716c883737
commit 7bef7f86f3
4 changed files with 4 additions and 0 deletions

View File

@@ -1147,6 +1147,7 @@ struct BuildRoadStationWindow : public PickerWindowBase {
this->LowerWidget(_settings_client.gui.station_show_coverage + WID_BROS_LT_OFF);
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
this->SetDirty();
SetViewportCatchmentStation(nullptr, true);
break;
default: