(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

This commit is contained in:
yexo 2009-07-10 19:41:03 +00:00
parent 3b8d0621a2
commit abc4f9b9a0

View File

@ -206,8 +206,8 @@ public:
{ {
this->SetWidgetLoweredState(BAW_BTN_DONTHILIGHT, !_settings_client.gui.station_show_coverage); this->SetWidgetLoweredState(BAW_BTN_DONTHILIGHT, !_settings_client.gui.station_show_coverage);
this->SetWidgetLoweredState(BAW_BTN_DOHILIGHT, _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->OnInvalidateData();
this->SelectOtherAirport(_selected_airport_type);
if (_settings_game.economy.station_noise_level) { if (_settings_game.economy.station_noise_level) {
ResizeWindowForWidget(this, BAW_BOTTOMPANEL, 0, 10); ResizeWindowForWidget(this, BAW_BOTTOMPANEL, 0, 10);