diff options
author | Grace Karanja <gracie.karanja89@gmail.com> | 2015-08-12 15:01:39 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-31 15:24:14 -0700 |
commit | a3bdf49b84d8a30a22e05bc965e98f5e7914f637 (patch) | |
tree | a600baf129c53023ad061b8d55eda6308b60bed6 /qt-mobile | |
parent | 8d03d264807930b110f3f3f62f5fd42887f80e3e (diff) | |
download | subsurface-a3bdf49b84d8a30a22e05bc965e98f5e7914f637.tar.gz |
QML UI: Clear divelist model before starting new dive
When user clicks on AddDive, we should clear the model.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 69282ee90..763de1b46 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -129,7 +129,7 @@ void QMLManager::saveChanges() void QMLManager::addDive() { - + DiveListModel::instance()->clearDives(); } bool QMLManager::saveCloudPassword() const |