From 9ef9c3efc02f0ae875e3cfa46c64d584a45e23af Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 23 Oct 2017 15:15:17 -0400 Subject: 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 --- qt-models/diveimportedmodel.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-models') 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 DiveImportedModel::roleNames() const { -- cgit v1.2.3-70-g09d2