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

This commit is contained in:
Juanjo
2013-10-14 18:10:26 +00:00
committed by pelya
parent fc248814fe
commit 60a7ac9f3c
4 changed files with 8 additions and 0 deletions

View File

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