diff options
Diffstat (limited to 'qt-models/divetripmodel.cpp')
-rw-r--r-- | qt-models/divetripmodel.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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<dive *> &divesIn, dive *current) { QVector <dive *> 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. |