summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 05bea0a0e..8cc2ca940 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1437,6 +1437,9 @@ void QMLManager::pasteDiveData(int id)
mark_divelist_changed(true);
changesNeedSaving();
setNotificationText("Paste");
+
+ int modelIdx = DiveListModel::instance()->getDiveIdx(id);
+ DiveListModel::instance()->updateDive(modelIdx, d);
}
void QMLManager::cancelDownloadDC()