From fd29b7b5260d76bbc1e4dad1aae826bd595dad74 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 4 Nov 2009 15:49:27 +0000 Subject: (svn r17969) -Codechange: use the toolbar switch button lowered state as a way to tell which of the configurations it's showing --- src/toolbar_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 01789aedd..6c09c3a71 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -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); } -- cgit v1.2.3-70-g09d2