From 9d4b8c8218aa042b36a32ffd6eb63162285e7fba Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 16 Jul 2014 19:29:01 -0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 1016aacdf..6e6859e2f 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -397,6 +397,7 @@ void MainWindow::planCanceled() { showProfile(); refreshDisplay(false); + ui.newProfile->plotDive(get_dive(selected_dive)); } void MainWindow::planCreated() -- cgit v1.2.3-70-g09d2