projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reset toolbar when device gets changed
[harmattan/cameraplus]
/
qml
/
ImageOverlay.qml
diff --git
a/qml/ImageOverlay.qml
b/qml/ImageOverlay.qml
index
e8c88e3
..
77fb6b5
100644
(file)
--- a/
qml/ImageOverlay.qml
+++ b/
qml/ImageOverlay.qml
@@
-294,4
+294,13
@@
Item {
}
}
+ function resetToolBar() {
+ if (toolBar.depth() > 1) {
+ toolBar.pop()
+ }
+ }
+
+ function cameraDeviceChanged() {
+ resetToolBar()
+ }
}