summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKimmo Ollila <kimmo.ollila@qt.io>2024-02-21 09:31:16 +0200
committerKimmo Ollila <kimmo.ollila@qt.io>2024-02-21 08:18:49 +0000
commitc1919571254d9191de9576bcb35e663d4efc0e9e (patch)
tree4001856a526e8cfd447c349786a85c77024f18fc
parentf4f2d62d45ee97041db5c69b604982d5b2cec29c (diff)
Disable DemoHeader buttons when header is closedHEADdev
Fixes: QTBUG-122584 Change-Id: I74bc03844c8b13032fe629d6db2b517c551ad0d8 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r--QtLauncher/DemoHeader.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/QtLauncher/DemoHeader.qml b/QtLauncher/DemoHeader.qml
index ad4a625..4df9992 100644
--- a/QtLauncher/DemoHeader.qml
+++ b/QtLauncher/DemoHeader.qml
@@ -65,6 +65,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
anchors.margins: -parent.height * 0.5
+ enabled: demoHeaderBar.open
onClicked: demoHeaderBar.infoClicked()
}
}
@@ -78,6 +79,7 @@ Rectangle {
MouseArea {
anchors.fill: parent
anchors.margins: -parent.height * 0.5
+ enabled: demoHeaderBar.open
onClicked: demoHeaderBar.closeClicked()
}
}