diff options
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index 601f2f628..b85c06741 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -1057,6 +1057,9 @@ void DiveTripModel::setupModelData() endRemoveRows(); } + if (autogroup) + autogroup_dives(); + dive_table.preexisting = dive_table.nr; while (--i >= 0) { struct dive* dive = get_dive(i); update_cylinder_related_info(dive); |