mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Force replot of selected_dive when canceling plan
The profile was still the planner one, so we need to force a replot. Fixes #621 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c34ee894ab
commit
9d4b8c8218
1 changed files with 1 additions and 0 deletions
|
@ -397,6 +397,7 @@ void MainWindow::planCanceled()
|
|||
{
|
||||
showProfile();
|
||||
refreshDisplay(false);
|
||||
ui.newProfile->plotDive(get_dive(selected_dive));
|
||||
}
|
||||
|
||||
void MainWindow::planCreated()
|
||||
|
|
Loading…
Reference in a new issue