diff --git a/src/controls/ApplicationWindow.qml b/src/controls/ApplicationWindow.qml index dbbfbdaad718f7da6a7587bb23af413d7fbc71ec..5df7286b9cb67801f51315fbbd4d230965961f92 100644 --- a/src/controls/ApplicationWindow.qml +++ b/src/controls/ApplicationWindow.qml @@ -133,7 +133,7 @@ Window { id: backgroundItem anchors.fill: parent - Keys.forwardTo: [menuBar.__contentItem] + Keys.forwardTo: menuBar ? [menuBar.__contentItem] : [] Item { id: contentArea