mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-12 01:24:54 +00:00
(svn r22495) -Fix: The layout selectors of the airport build GUI did not latch properly
This commit is contained in:
parent
4ac6f2a994
commit
9a744793b0
@ -533,6 +533,18 @@ public:
|
|||||||
{
|
{
|
||||||
CheckRedrawStationCoverage(this);
|
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[] = {
|
static const NWidgetPart _nested_build_airport_widgets[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user