mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r17969) -Codechange: use the toolbar switch button lowered state as a way to tell which of the configurations it's showing
This commit is contained in:
parent
e6a164de09
commit
fd29b7b526
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue