mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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 <miika.turkia@gmail.com>
This commit is contained in:
parent
88d5eccb17
commit
577e295d2f
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue