Merge branch 'pr-8263' into HEAD

This commit is contained in:
Jonathan G Rennison
2020-07-07 17:29:15 +01:00
4 changed files with 4 additions and 0 deletions

View File

@@ -485,6 +485,7 @@ public:
this->SetDirty(); this->SetDirty();
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP); if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
this->UpdateSelectSize(); this->UpdateSelectSize();
SetViewportCatchmentStation(nullptr, true);
break; break;
case WID_AP_LAYOUT_DECREASE: case WID_AP_LAYOUT_DECREASE:

View File

@@ -451,6 +451,7 @@ public:
this->LowerWidget(_settings_client.gui.station_show_coverage + BDSW_LT_OFF); this->LowerWidget(_settings_client.gui.station_show_coverage + BDSW_LT_OFF);
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP); if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
this->SetDirty(); this->SetDirty();
SetViewportCatchmentStation(nullptr, true);
break; break;
} }
} }

View File

@@ -1438,6 +1438,7 @@ public:
this->SetWidgetLoweredState(WID_BRAS_HIGHLIGHT_ON, _settings_client.gui.station_show_coverage); this->SetWidgetLoweredState(WID_BRAS_HIGHLIGHT_ON, _settings_client.gui.station_show_coverage);
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP); if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
this->SetDirty(); this->SetDirty();
SetViewportCatchmentStation(nullptr, true);
break; break;
case WID_BRAS_NEWST_LIST: { case WID_BRAS_NEWST_LIST: {

View File

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