From 043ae4af2782fa652aab57158611656c00139473 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 10 Mar 2015 10:50:56 -0700 Subject: Turn the toolbar back on after editing a dive site Signed-off-by: Dirk Hohndel --- qt-ui/simplewidgets.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/simplewidgets.cpp') diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp index 027fd9ad3..4276e6151 100644 --- a/qt-ui/simplewidgets.cpp +++ b/qt-ui/simplewidgets.cpp @@ -742,6 +742,7 @@ void LocationInformationWidget::acceptChanges() mark_divelist_changed(true); resetPallete(); ui.diveSiteNotes->hide(); + MainWindow::instance()->setEnabledToolbar(true); emit informationManagementEnded(); } @@ -757,6 +758,7 @@ void LocationInformationWidget::rejectChanges() } resetPallete(); ui.diveSiteNotes->hide(); + MainWindow::instance()->setEnabledToolbar(true); emit informationManagementEnded(); } -- cgit v1.2.3-70-g09d2