mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Turn the toolbar back on after editing a dive site
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4796ee0c39
commit
043ae4af27
1 changed files with 2 additions and 0 deletions
|
@ -742,6 +742,7 @@ void LocationInformationWidget::acceptChanges()
|
||||||
mark_divelist_changed(true);
|
mark_divelist_changed(true);
|
||||||
resetPallete();
|
resetPallete();
|
||||||
ui.diveSiteNotes->hide();
|
ui.diveSiteNotes->hide();
|
||||||
|
MainWindow::instance()->setEnabledToolbar(true);
|
||||||
emit informationManagementEnded();
|
emit informationManagementEnded();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -757,6 +758,7 @@ void LocationInformationWidget::rejectChanges()
|
||||||
}
|
}
|
||||||
resetPallete();
|
resetPallete();
|
||||||
ui.diveSiteNotes->hide();
|
ui.diveSiteNotes->hide();
|
||||||
|
MainWindow::instance()->setEnabledToolbar(true);
|
||||||
emit informationManagementEnded();
|
emit informationManagementEnded();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue