Add a MouseArea to standby widget to prevent interactions with controls below
authorMohammed Sameer <msameer@foolab.org>
Mon, 24 Dec 2012 14:55:34 +0000 (16:55 +0200)
committerMohammed Sameer <msameer@foolab.org>
Mon, 24 Dec 2012 14:55:34 +0000 (16:55 +0200)
qml/CameraPage.qml

index c91be0b..b368302 100644 (file)
@@ -61,6 +61,11 @@ Page {
                 anchors.fill: parent
                 visible: standbyVisible && page.status == PageStatus.Active && pipelineManager.showStandBy
                 z: 1
+                MouseArea {
+                        anchors.fill: parent
+                        enabled: parent.visible
+                }
+
                 Image {
                         id: icon
                         source: "image://theme/icon-l-camera-standby"