summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r--src/toolbar_gui.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}