Keep orientation sensor active when we are in post capture view
authorMohammed Sameer <msameer@foolab.org>
Mon, 22 Jul 2013 18:29:53 +0000 (21:29 +0300)
committerMohammed Sameer <msameer@foolab.org>
Mon, 22 Jul 2013 18:29:53 +0000 (21:29 +0300)
qml/main.qml

index 6676ff6..ca62780 100644 (file)
@@ -148,7 +148,7 @@ Window {
 
         Orientation {
             id: orientation
 
         Orientation {
             id: orientation
-            active: cam.running
+            active: cam.running || (mainView.currentIndex == 2 && Qt.application.active)
         }
 
         Compass {
         }
 
         Compass {