Small casting
This commit is contained in:
parent
618c8bd6de
commit
f72da2f967
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue