diff options
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index c0c65bd99..9fa1a81d1 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -211,6 +211,10 @@ LocationInformationWidget *MainWindow::locationInformationWidget() { return qobject_cast<LocationInformationWidget*>(applicationState["EditDiveSite"].topLeft); } +void MainWindow::on_actionManage_dive_sites_triggered() { + enableDiveSiteEdit(displayed_dive.dive_site_uuid); +} + void MainWindow::enableDiveSiteEdit(uint32_t id) { locationInformationWidget()->setLocationId(displayed_dive.dive_site_uuid); setApplicationState("EditDiveSite"); |