mirror of https://github.com/buggins/dlangui.git
Fix AppFrame after add popup menus to all widgets.
This commit is contained in:
parent
c971b68655
commit
dd4eed5ed2
|
@ -256,7 +256,7 @@ class AppFrame : VerticalLayout, MenuItemClickHandler, MenuItemActionHandler {
|
|||
}
|
||||
|
||||
/// override to handle main menu actions
|
||||
bool onMenuItemAction(const Action action) {
|
||||
override bool onMenuItemAction(const Action action) {
|
||||
// default handling: dispatch action using window (first offered to focused control, then to main widget)
|
||||
return window.dispatchAction(action);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue