summaryrefslogtreecommitdiffstats
path: root/qt-ui/locationinformation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/locationinformation.cpp')
-rw-r--r--qt-ui/locationinformation.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp
index d20a6efc6..73c8767e8 100644
--- a/qt-ui/locationinformation.cpp
+++ b/qt-ui/locationinformation.cpp
@@ -3,6 +3,7 @@
#include "mainwindow.h"
#include "divelistview.h"
#include "qthelper.h"
+#include "globe.h"
#include <QDebug>
#include <QShowEvent>
@@ -146,6 +147,7 @@ void LocationInformationWidget::acceptChanges()
mark_divelist_changed(true);
resetState();
emit informationManagementEnded();
+ emit coordinatesChanged();
}
void LocationInformationWidget::rejectChanges()
@@ -160,6 +162,7 @@ void LocationInformationWidget::rejectChanges()
}
resetState();
emit informationManagementEnded();
+ emit coordinatesChanged();
}
void LocationInformationWidget::showEvent(QShowEvent *ev)
@@ -217,6 +220,7 @@ void LocationInformationWidget::on_diveSiteCoordinates_textChanged(const QString
displayed_dive_site.latitude.udeg = latitude * 1000000;
displayed_dive_site.longitude.udeg = longitude * 1000000;
markChangedWidget(ui.diveSiteCoordinates);
+ emit coordinatesChanged();
}
}
}