diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-06 12:36:25 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-06 12:50:30 -0700 |
commit | cd5b2a372f70198823a7ca82a51fa38a977f1a80 (patch) | |
tree | eaa8461ae3efa9c7056e89652411e4373854bd93 /qt-ui/mainwindow.cpp | |
parent | d97c49ba39833275cf15a2753cb084efdfd5c923 (diff) | |
download | subsurface-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.cpp | 2 |
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() |