Turn the toolbar back on after editing a dive site

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-03-10 10:50:56 -07:00
parent 4796ee0c39
commit 043ae4af27

View file

@ -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();
}