diff --git a/src/Toolbar.cc b/src/Toolbar.cc index eeebda6d..8bc006cc 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -1400,7 +1400,8 @@ void Toolbarmenu::Placementmenu::itemSelected(int button, int index) { if (! item) return; - toolbarmenu->toolbar->screen->saveToolbarPlacement(item->function()); + toolbarmenu->toolbar->screen->saveToolbarPlacement( + static_cast(item->function())); hide(); toolbarmenu->toolbar->reconfigure();