mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:23:24 +00:00
Only call autogroup when it's enabled
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4fb01dd766
commit
ba773c811f
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue