Changeset - r17705:1b39890bf99d
[Not reviewed]
master
0 1 0
planetmaker - 13 years ago 2011-05-27 15:40:32
planetmaker@openttd.org
(svn r22495) -Fix: The layout selectors of the airport build GUI did not latch properly
1 file changed with 12 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/airport_gui.cpp
Show inline comments
 
@@ -533,6 +533,18 @@ 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[] = {
0 comments (0 inline, 0 general)