Don't show capture button if standby widget is visible
authorMohammed Sameer <msameer@foolab.org>
Thu, 20 Dec 2012 18:18:19 +0000 (20:18 +0200)
committerMohammed Sameer <msameer@foolab.org>
Thu, 20 Dec 2012 18:18:19 +0000 (20:18 +0200)
qml/ImagePage.qml

index f8023bd..3af88be 100644 (file)
@@ -76,7 +76,7 @@ CameraPage {
                 height: 75
                 opacity: 0.5
                 onClicked: captureImage();
-                visible: imageMode.canCapture && !cameraMode.animationRunning && !previewAnimationRunning && cam.running
+                visible: imageMode.canCapture && !cameraMode.animationRunning && !previewAnimationRunning && cam.running && !standbyWidget.visible
 
                 onExited: {
                         if (mouseX <= 0 || mouseY <= 0 || mouseX > width || mouseY > height) {