From cd5b2a372f70198823a7ca82a51fa38a977f1a80 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 6 Jul 2014 12:36:25 -0700 Subject: UI restructure: cleanup the code when canceling an edit This was way too complicated because we used to edit a "live" dive that was on the dive list. All we really need to do is systematically make sure that all the widgets are in the correct state. Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/mainwindow.cpp') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 9efeafa12..6a212ae6a 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -394,7 +394,7 @@ bool MainWindow::plannerStateClean() void MainWindow::planCanceled() { showProfile(); - refreshDisplay(); + refreshDisplay(false); } void MainWindow::planCreated() -- cgit v1.2.3-70-g09d2