diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp index 754d5e633..4236b32c3 100644 --- a/qt-models/divetripmodel.cpp +++ b/qt-models/divetripmodel.cpp @@ -1407,8 +1407,6 @@ QModelIndex DiveTripModelTree::diveToIdx(const dive *d) const void DiveTripModelTree::divesSelected(const QVector &divesIn, dive *current) { QVector dives = visibleDives(divesIn); - if (dives.empty()) - return; // We got a number of dives that have been selected. Turn this into QModelIndexes and // emit a signal, so that views can change the selection.