pop toolbar if we start recording and its depth is greater than 1
[harmattan/cameraplus] / qml / CameraToolBar.qml
index b53039b..8c4d922 100644 (file)
@@ -48,6 +48,10 @@ Rectangle {
         __currentTools = Layout.pop();
     }
 
+    function depth() {
+        return Layout.depth()
+    }
+
     onToolsChanged: {
         push(tools)
     }