diff options
-rw-r--r-- | qt-ui/divelistview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index ca0ea5713..e646bab04 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -140,6 +140,7 @@ void DiveListView::rememberSelection() void DiveListView::restoreSelection() { unselectDives(); + selectedTrips.clear(); // I wish we didn't lose those... Q_FOREACH(int i, selectedDives) { selectDive(i); } |