summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Toolbar.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index eeebda6..8bc006c 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -1400,7 +1400,8 @@ void Toolbarmenu::Placementmenu::itemSelected(int button, int index) {
1400 if (! item) 1400 if (! item)
1401 return; 1401 return;
1402 1402
1403 toolbarmenu->toolbar->screen->saveToolbarPlacement(item->function()); 1403 toolbarmenu->toolbar->screen->saveToolbarPlacement(
1404 static_cast<Toolbar::Placement>(item->function()));
1404 hide(); 1405 hide();
1405 toolbarmenu->toolbar->reconfigure(); 1406 toolbarmenu->toolbar->reconfigure();
1406 1407