Small casting
fluxgen fluxgen
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
src/Toolbar.cc
→
src/Toolbar.cc
@@ -1400,7 +1400,8 @@ BasemenuItem *item = find(index);
if (! item) return; - toolbarmenu->toolbar->screen->saveToolbarPlacement(item->function()); + toolbarmenu->toolbar->screen->saveToolbarPlacement( + static_cast<Toolbar::Placement>(item->function())); hide(); toolbarmenu->toolbar->reconfigure();