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:
Miika Turkia 2018-10-29 17:58:05 +02:00 committed by Dirk Hohndel
parent 88d5eccb17
commit 577e295d2f

View file

@ -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();
}