diff options
author | Grace Karanja <gracie.karanja89@gmail.com> | 2015-08-10 08:35:47 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-31 15:24:14 -0700 |
commit | 8d03d264807930b110f3f3f62f5fd42887f80e3e (patch) | |
tree | 2aa6e5b7fea821c2092195aabeff87e6e902dc77 /qt-mobile/main.qml | |
parent | 10d8a625d0966b748690325e82bd2b9278a5c7f4 (diff) | |
download | subsurface-8d03d264807930b110f3f3f62f5fd42887f80e3e.tar.gz |
QML UI: Start Add Dive feature
Start working on the add dive feature, to enable the user add a
new dive using the mobile UI.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
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: { |