summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/airport_gui.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp
index d9008431c..a8460c1a9 100644
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -533,18 +533,6 @@ public:
{
CheckRedrawStationCoverage(this);
}
-
- virtual void OnTimeout()
- {
- if (this->IsWidgetLowered(BAIRW_LAYOUT_DECREASE)) {
- this->ToggleWidgetLoweredState(BAIRW_LAYOUT_DECREASE);
- this->SetDirty();
- }
- if (this->IsWidgetLowered(BAIRW_LAYOUT_INCREASE)) {
- this->ToggleWidgetLoweredState(BAIRW_LAYOUT_INCREASE);
- this->SetDirty();
- }
- }
};
static const NWidgetPart _nested_build_airport_widgets[] = {
@@ -587,7 +575,7 @@ static const NWidgetPart _nested_build_airport_widgets[] = {
static const WindowDesc _build_airport_desc(
WDP_AUTO, 0, 0,
WC_BUILD_STATION, WC_BUILD_TOOLBAR,
- WDF_CONSTRUCTION,
+ WDF_CONSTRUCTION | WDF_UNCLICK_BUTTONS,
_nested_build_airport_widgets, lengthof(_nested_build_airport_widgets)
);