diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-03-10 10:50:56 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-10 10:50:56 -0700 |
commit | 043ae4af2782fa652aab57158611656c00139473 (patch) | |
tree | 92eb8a1c105281cb6d9cfa2a2879ae89365e6d21 /qt-ui | |
parent | 4796ee0c394ee002408ba392b750d34d90a2b459 (diff) | |
download | subsurface-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')
-rw-r--r-- | qt-ui/simplewidgets.cpp | 2 |
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(); } |