summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/diveimportedmodel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-models/diveimportedmodel.cpp b/qt-models/diveimportedmodel.cpp
index 6926981d5..e988a8678 100644
--- a/qt-models/diveimportedmodel.cpp
+++ b/qt-models/diveimportedmodel.cpp
@@ -174,8 +174,7 @@ void DiveImportedModel::recordDives()
}
process_imported_dives(diveTable, true, true);
- if (autogroup)
- autogroup_dives();
+ autogroup_dives();
}
QHash<int, QByteArray> DiveImportedModel::roleNames() const {