From abc4f9b9a0d4e3989df7298a7026e32cf42cf94e Mon Sep 17 00:00:00 2001 From: yexo Date: Fri, 10 Jul 2009 19:41:03 +0000 Subject: (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 --- src/airport_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2