diff options
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index f22b7cf1e..4bc7006bf 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -815,7 +815,7 @@ void MainTab::acceptChanges() saveTaggedStrings(selectedDives); saveTags(selectedDives); - if (editMode != ADD && cylindersModel->changed) { + if (cylindersModel->changed) { mark_divelist_changed(true); MODIFY_DIVES(selectedDives, for (int i = 0; i < MAX_CYLINDERS; i++) { |