summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r--qt-ui/simplewidgets.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp
index 63ec4b4fa..c7dd47c6d 100644
--- a/qt-ui/simplewidgets.cpp
+++ b/qt-ui/simplewidgets.cpp
@@ -665,6 +665,16 @@ LocationInformationWidget::LocationInformationWidget(QWidget *parent) : QGroupBo
ui.diveSiteMessage->addAction(action);
}
+void LocationInformationWidget::setLocationName(const QString& name)
+{
+ ui.diveSiteName->setText(name);
+}
+
+void LocationInformationWidget::setLocationCoords(const QString& coords)
+{
+ ui.diveSiteCoordinates->setText(coords);
+}
+
void LocationInformationWidget::acceptChanges()
{
emit informationManagementEnded();