summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-06 12:36:25 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-06 12:50:30 -0700
commitcd5b2a372f70198823a7ca82a51fa38a977f1a80 (patch)
treeeaa8461ae3efa9c7056e89652411e4373854bd93 /qt-ui/mainwindow.cpp
parentd97c49ba39833275cf15a2753cb084efdfd5c923 (diff)
downloadsubsurface-cd5b2a372f70198823a7ca82a51fa38a977f1a80.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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()