diff options
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/diveimportedmodel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-models/diveimportedmodel.cpp b/qt-models/diveimportedmodel.cpp index 4cc5a0191..ea70ece39 100644 --- a/qt-models/diveimportedmodel.cpp +++ b/qt-models/diveimportedmodel.cpp @@ -180,7 +180,8 @@ void DiveImportedModel::recordDives() } diveTable->nr = 0; process_dives(true, true); - autogroup_dives(); + if (autogroup) + autogroup_dives(); } QHash<int, QByteArray> DiveImportedModel::roleNames() const { |