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:
Tomaz Canabrava 2014-07-16 19:29:01 -03:00 committed by Dirk Hohndel
parent c34ee894ab
commit 9d4b8c8218

View file

@ -397,6 +397,7 @@ void MainWindow::planCanceled()
{
showProfile();
refreshDisplay(false);
ui.newProfile->plotDive(get_dive(selected_dive));
}
void MainWindow::planCreated()