From 577e295d2fb5de19892bd4b67fc08b17e25cc55a Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Mon, 29 Oct 2018 17:58:05 +0200 Subject: [PATCH] Mark cache invalid to get data saved Seems that we need to invalidate the cache to get the modifications actually saved. Signed-off-by: Miika Turkia --- mobile-widgets/qmlmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 9124434e0..7d88eedc5 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -1351,6 +1351,9 @@ void QMLManager::pasteDiveData(int id) return; } selective_copy_dive(m_copyPasteDive, d, what, false); + + invalidate_dive_cache(d); + mark_divelist_changed(true); changesNeedSaving(); }