summaryrefslogtreecommitdiffstats
path: root/qt-mobile/TopBar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/TopBar.qml')
-rw-r--r--qt-mobile/TopBar.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-mobile/TopBar.qml b/qt-mobile/TopBar.qml
index 1e34fcebc..1edd868c2 100644
--- a/qt-mobile/TopBar.qml
+++ b/qt-mobile/TopBar.qml
@@ -42,6 +42,8 @@ Rectangle {
}
}
onClicked: {
+ if (stackView.currentItem.objectName == "DiveDetails")
+ {
manager.commitChanges(
dive_id,
suit,
@@ -49,6 +51,7 @@ Rectangle {
divemaster,
notes
)
+ }
stackView.pop();
}
}