summaryrefslogtreecommitdiff
path: root/src/airport_gui.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-07-10 19:41:03 +0000
committeryexo <yexo@openttd.org>2009-07-10 19:41:03 +0000
commitabc4f9b9a0d4e3989df7298a7026e32cf42cf94e (patch)
tree5a308a6617528d4fa3b08f9a467b138b2f77e54f /src/airport_gui.cpp
parent3b8d0621a2621531e9be38cf3247e015558f1971 (diff)
downloadopenttd-abc4f9b9a0d4e3989df7298a7026e32cf42cf94e.tar.xz
(svn r16786) -Fix [FS#3027] (r16752): only one tile was selected when the build airport window was opened instead of an area with the size of the airport
Diffstat (limited to 'src/airport_gui.cpp')
-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 107c186a8..c57112c4a 100644
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -206,8 +206,8 @@ public:
{
this->SetWidgetLoweredState(BAW_BTN_DONTHILIGHT, !_settings_client.gui.station_show_coverage);
this->SetWidgetLoweredState(BAW_BTN_DOHILIGHT, _settings_client.gui.station_show_coverage);
- this->LowerWidget(_selected_airport_type + BAW_SMALL_AIRPORT);
this->OnInvalidateData();
+ this->SelectOtherAirport(_selected_airport_type);
if (_settings_game.economy.station_noise_level) {
ResizeWindowForWidget(this, BAW_BOTTOMPANEL, 0, 10);