Small casting

This commit is contained in:
fluxgen 2002-01-20 02:20:18 +00:00
parent 618c8bd6de
commit f72da2f967

View file

@ -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<Toolbar::Placement>(item->function()));
hide();
toolbarmenu->toolbar->reconfigure();