summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-07-12 00:14:30 +0000
committeryexo <yexo@openttd.org>2009-07-12 00:14:30 +0000
commitfff3bae83d95b2238bc371829ef50ade385f3081 (patch)
tree57c52813fb7f04df0c13e8b30bda40802b929f1b
parent9a1f3d281b4b6274fef2c6e30e49234458e1db15 (diff)
downloadopenttd-fff3bae83d95b2238bc371829ef50ade385f3081.tar.xz
(svn r16794) -Fix (r16752): setting coverage area highlight in the airport selection window didn't take effect immediatly
-rw-r--r--src/airport_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp
index f2714dac7..a8d657736 100644
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -293,7 +293,7 @@ public:
this->SetWidgetLoweredState(BAW_BTN_DONTHILIGHT, !_settings_client.gui.station_show_coverage);
this->SetWidgetLoweredState(BAW_BTN_DOHILIGHT, _settings_client.gui.station_show_coverage);
SndPlayFx(SND_15_BEEP);
- this->SetDirty();
+ this->SelectOtherAirport(_selected_airport_type);
break;
}
}