Changeset - r13449:13d0eec5635c
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-11-04 15:49:27
rubidium@openttd.org
(svn r17969) -Codechange: use the toolbar switch button lowered state as a way to tell which of the configurations it's showing
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/toolbar_gui.cpp
Show inline comments
 
@@ -779,7 +779,7 @@ static void ToolbarSwitchClick(Window *w
 
	}
 

	
 
	SplitToolbar(w);
 
	w->HandleButtonClick(TBN_SWITCHBAR);
 
	w->SetWidgetLoweredState(TBN_SWITCHBAR, _toolbar_mode == TB_LOWER);
 
	w->SetDirty();
 
	SndPlayFx(SND_15_BEEP);
 
}
0 comments (0 inline, 0 general)