mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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;
|
diveTable->nr = 0;
|
||||||
process_dives(true, true);
|
process_dives(true, true);
|
||||||
autogroup_dives();
|
if (autogroup)
|
||||||
|
autogroup_dives();
|
||||||
}
|
}
|
||||||
|
|
||||||
QHash<int, QByteArray> DiveImportedModel::roleNames() const {
|
QHash<int, QByteArray> DiveImportedModel::roleNames() const {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue