summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-10 10:50:56 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-10 10:50:56 -0700
commit043ae4af2782fa652aab57158611656c00139473 (patch)
tree92eb8a1c105281cb6d9cfa2a2879ae89365e6d21 /qt-ui/simplewidgets.cpp
parent4796ee0c394ee002408ba392b750d34d90a2b459 (diff)
downloadsubsurface-043ae4af2782fa652aab57158611656c00139473.tar.gz
Turn the toolbar back on after editing a dive site
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r--qt-ui/simplewidgets.cpp2
1 files changed, 2 insertions, 0 deletions
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();
}