diff options
Diffstat (limited to 'qt-ui/locationinformation.cpp')
-rw-r--r-- | qt-ui/locationinformation.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index 08eb31e60..c1c76bdfb 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -56,7 +56,9 @@ void LocationInformationWidget::setCurrentDiveSiteByUuid(uint32_t uuid) else ui.diveSiteCoordinates->clear(); - emit startFilterDiveSite(displayed_dive_site.uuid); + if (current_mode == EDIT_DIVE_SITE) + emit startFilterDiveSite(displayed_dive_site.uuid); + emit startEditDiveSite(uuid); } void LocationInformationWidget::updateGpsCoordinates() |