mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Update pictures when entering/exiting planner
This fixes the problem I pointed out im my comment to #667 and hopefully also the original problem although I cannot confirm since i cannot reproduce the problem in the first place. See #677 Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
89622b0b51
commit
1508f95775
2 changed files with 3 additions and 0 deletions
|
@ -838,6 +838,7 @@ void MainTab::rejectChanges()
|
|||
else
|
||||
clear_dive(&displayed_dive);
|
||||
updateDiveInfo(selected_dive < 0);
|
||||
DivePictureModel::instance()->updateDivePictures();
|
||||
// the user could have edited the location and then canceled the edit
|
||||
// let's get the correct location back in view
|
||||
MainWindow::instance()->globe()->centerOnCurrentDive();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue