summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 2b3b30a6a..4463cb195 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -111,6 +111,9 @@ MainWindow::MainWindow() : QMainWindow(),
profileContainer->setLayout(profLayout);
LocationInformationWidget * diveSiteEdit = new LocationInformationWidget();
+ connect(diveSiteEdit, &LocationInformationWidget::informationManagementEnded,
+ this, &MainWindow::setDefaultState);
+
QWidget *diveSitePictures = new QWidget(); // Placeholder
registerApplicationState("Default", mainTab, profileContainer, diveListView, globeGps );