mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make sure the dive site edit widget is current when switching to it
Otherwise it will show outdated information. If the user edits the location name and then clicks 'manage' we need to make sure that the correct site is shown. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
84aab5ffed
commit
35d6cf8000
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ LocationInformationWidget *MainWindow::locationInformationWidget() {
|
|||
}
|
||||
|
||||
void MainWindow::enableDiveSiteEdit(uint32_t id) {
|
||||
locationInformationWidget()->setLocationId(displayed_dive.dive_site_uuid);
|
||||
setApplicationState("EditDiveSite");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue