From f6e661a3d021680edb59b48b2fb2ccac8d59d6d7 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 4 Nov 2009 15:49:27 +0000 Subject: [PATCH] (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 01789aedd8..6c09c3a718 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); }