Revert "Erase queued command also when depot direction/airport type/station type changes."

This reverts commit 60a7ac9f3c.
This commit is contained in:
Sergii Pylypenko
2014-06-03 18:44:34 +03:00
parent b2bfcf6816
commit 742f20fcc3
4 changed files with 0 additions and 8 deletions

View File

@@ -423,8 +423,6 @@ public:
void UpdateSelectSize()
{
EraseQueuedTouchCommand();
if (_selected_airport_index == -1) {
SetTileSelectSize(1, 1);
this->DisableWidget(WID_AP_LAYOUT_DECREASE);

View File

@@ -475,7 +475,6 @@ public:
_settings_client.gui.station_show_coverage = (widget != BDSW_LT_OFF);
this->LowerWidget(_settings_client.gui.station_show_coverage + BDSW_LT_OFF);
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
EraseQueuedTouchCommand();
this->SetDirty();
break;
}

View File

@@ -1367,8 +1367,6 @@ public:
break;
}
}
EraseQueuedTouchCommand();
}
virtual void OnTick()
@@ -1723,7 +1721,6 @@ struct BuildRailDepotWindow : public PickerWindowBase {
_build_depot_direction = (DiagDirection)(widget - WID_BRAD_DEPOT_NE);
this->LowerWidget(_build_depot_direction + WID_BRAD_DEPOT_NE);
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
EraseQueuedTouchCommand();
this->SetDirty();
break;
}

View File

@@ -882,7 +882,6 @@ struct BuildRoadDepotWindow : public PickerWindowBase {
_road_depot_orientation = (DiagDirection)(widget - WID_BROD_DEPOT_NE);
this->LowerWidget(_road_depot_orientation + WID_BROD_DEPOT_NE);
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
EraseQueuedTouchCommand();
this->SetDirty();
break;
@@ -1029,7 +1028,6 @@ struct BuildRoadStationWindow : public PickerWindowBase {
_settings_client.gui.station_show_coverage = (widget != 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);
EraseQueuedTouchCommand();
this->SetDirty();
break;