diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/globe.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 496afb4ac..4c6743770 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -150,10 +150,8 @@ void GlobeGPS::mouseClicked(qreal lon, qreal lat, GeoDataCoordinates::Unit unit) } if (selectedDiveIds.empty()) return; - if (clear) { + if (clear) MainWindow::instance()->dive_list()->unselectDives(); - clear = false; - } MainWindow::instance()->dive_list()->selectDives(selectedDiveIds); } |