summaryrefslogtreecommitdiff
path: root/src/controls
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls')
-rw-r--r--src/controls/ApplicationWindow.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/ApplicationWindow.qml b/src/controls/ApplicationWindow.qml
index d5049f8d..3d3f8840 100644
--- a/src/controls/ApplicationWindow.qml
+++ b/src/controls/ApplicationWindow.qml
@@ -119,6 +119,8 @@ Window {
onStatusBarChanged: { if (statusBar) { statusBar.parent = statusBarArea } }
+ onVisibleChanged: { if (visible && menuBar) { menuBar.__parentWindow = root } }
+
/*! \internal */
default property alias data: contentArea.data