diff options
author | Grace Karanja <gracie.karanja89@gmail.com> | 2015-08-16 11:57:18 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-31 15:24:15 -0700 |
commit | 5a7dbf02258d1c5b12f9db01c275e4a0bbe97aff (patch) | |
tree | a13723f51f0f2fca0c82a5d1241d9bca3212f391 /qt-mobile | |
parent | a734a2ee19cd865e70e8d4380ff7cae5b94b4342 (diff) | |
download | subsurface-5a7dbf02258d1c5b12f9db01c275e4a0bbe97aff.tar.gz |
QML UI: Use AddDive instead of clear dive
No need to clear the dives when adding a new one.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 763de1b46..021c9c0d0 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -129,7 +129,8 @@ void QMLManager::saveChanges() void QMLManager::addDive() { - DiveListModel::instance()->clearDives(); + showMessage("Adding new dive."); + DiveListModel::instance()->startAddDive(); } bool QMLManager::saveCloudPassword() const |