pop toolbar if we start recording and its depth is greater than 1
[harmattan/cameraplus] / qml / VideoOverlay.qml
index 866298a..d1df5bd 100644 (file)
@@ -258,6 +258,10 @@ Item {
         }
 
         trackerStore.storeVideo(file);
+
+        if (toolBar.depth() > 1) {
+            toolBar.pop()
+        }
     }
 
     function startRecording() {