Changeset - r21994:a0137c26046c
[Not reviewed]
master
0 1 0
frosch - 9 years ago 2015-02-14 21:22:47
frosch@openttd.org
(svn r27150) -Fix (r27146): Forgot scenario toolbar.
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/toolbar_gui.cpp
Show inline comments
 
@@ -1990,6 +1990,11 @@ struct ScenarioEditorToolbarWindow : Win
 
		DoZoomInOutWindow(ZOOM_NONE, this);
 
	}
 

	
 
	virtual void FindWindowPlacementAndResize(int def_width, int def_height)
 
	{
 
		Window::FindWindowPlacementAndResize(_toolbar_width, def_height);
 
	}
 

	
 
	virtual void OnPaint()
 
	{
 
		this->SetWidgetDisabledState(WID_TE_DATE_BACKWARD, _settings_game.game_creation.starting_year <= MIN_YEAR);
0 comments (0 inline, 0 general)