diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-10-23 15:15:17 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-23 15:15:17 -0400 |
commit | 9ef9c3efc02f0ae875e3cfa46c64d584a45e23af (patch) | |
tree | 84e3f85d99a5fcbea3396a2515ae694e4d95e4da /qt-models | |
parent | 02f4490deafcce164a985f03ea6ef572d9023d54 (diff) | |
download | subsurface-9ef9c3efc02f0ae875e3cfa46c64d584a45e23af.tar.gz |
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>
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/diveimportedmodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/diveimportedmodel.cpp b/qt-models/diveimportedmodel.cpp index e9e0c45d8..4cc5a0191 100644 --- a/qt-models/diveimportedmodel.cpp +++ b/qt-models/diveimportedmodel.cpp @@ -180,6 +180,7 @@ void DiveImportedModel::recordDives() } diveTable->nr = 0; process_dives(true, true); + autogroup_dives(); } QHash<int, QByteArray> DiveImportedModel::roleNames() const { |