summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/maintab.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 16e424c21..bd893e2da 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -467,6 +467,7 @@ void MainTab::updateDiveInfo(bool clear)
process_selected_dives();
process_all_dives(&displayed_dive, &prevd);
+ ui.location->blockSignals(true);
divePictureModel->updateDivePictures();
@@ -708,6 +709,9 @@ void MainTab::updateDiveInfo(bool clear)
ui.cylinders->view()->showColumn(CylindersModel::USE);
else
ui.cylinders->view()->hideColumn(CylindersModel::USE);
+
+ ui.location->blockSignals(false);
+ emit diveSiteChanged();
}
void MainTab::addCylinder_clicked()