summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-models/divetripmodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp
index a2a72ded3..52bfcf7f5 100644
--- a/qt-models/divetripmodel.cpp
+++ b/qt-models/divetripmodel.cpp
@@ -380,6 +380,7 @@ void DiveTripModelBase::clear()
oldCurrent = nullptr;
emit diveListNotifier.divesSelected({}, nullptr); // Inform profile, etc of changed selection
endResetModel();
+ emit diveListNotifier.numShownChanged();
}
void DiveTripModelBase::reset()
@@ -389,6 +390,7 @@ void DiveTripModelBase::reset()
populate();
endResetModel();
initSelection();
+ emit diveListNotifier.numShownChanged();
}
DiveTripModelBase::DiveTripModelBase(QObject *parent) : QAbstractItemModel(parent)