summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r--qt-mobile/qmlmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index 0fbdac286..13749caa4 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -250,8 +250,10 @@ void QMLManager::commitChanges(QString diveId, QString suit, QString buddy, QStr
free(d->notes);
d->notes = strdup(notes.toUtf8().data());
}
- if (diveChanged)
+ if (diveChanged) {
+ DiveListModel::instance()->updateDive(d);
mark_divelist_changed(true);
+ }
}
void QMLManager::saveChanges()