Respect autogroup in Subsurface-mobile

After we download new dives we need to try to autogroup them.
In Subsurface this is done when we refresh the dive list. Here
we might be better off doing it right after processing the new
dives.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-10-23 15:15:17 -04:00
parent 02f4490dea
commit 9ef9c3efc0

View file

@ -180,6 +180,7 @@ void DiveImportedModel::recordDives()
}
diveTable->nr = 0;
process_dives(true, true);
autogroup_dives();
}
QHash<int, QByteArray> DiveImportedModel::roleNames() const {