diff options
Diffstat (limited to 'qt-mobile/main.qml')
-rw-r--r-- | qt-mobile/main.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml index 24ebb40ed..76d8836ed 100644 --- a/qt-mobile/main.qml +++ b/qt-mobile/main.qml @@ -37,6 +37,16 @@ ApplicationWindow { stackView.push(downloadDivesWindow) } } + + MenuItem { + text: "Add Dive" + onTriggered: { + manager.addDive(); + detailsWindow.clearDetails() + stackView.push(detailsWindow) + } + } + MenuItem { text: "Save Changes" onTriggered: { |