diff options
Diffstat (limited to 'desktop-widgets/mapwidget.cpp')
-rw-r--r-- | desktop-widgets/mapwidget.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp index 81f9f9419..11e6425b1 100644 --- a/desktop-widgets/mapwidget.cpp +++ b/desktop-widgets/mapwidget.cpp @@ -105,11 +105,7 @@ void MapWidget::prepareForGetDiveCoordinates(struct dive_site *ds) void MapWidget::selectedDivesChanged(const QList<int> &list) { CHECK_IS_READY_RETURN_VOID(); - skipReload = true; - MainWindow::instance()->diveList->unselectDives(); - if (!list.empty()) - MainWindow::instance()->diveList->selectDives(list); - skipReload = false; + MainWindow::instance()->diveList->selectDives(list); } void MapWidget::coordinatesChanged(struct dive_site *ds, const location_t &location) |