mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
d97c49ba39
commit
cd5b2a372f
3 changed files with 15 additions and 61 deletions
|
@ -394,7 +394,7 @@ bool MainWindow::plannerStateClean()
|
|||
void MainWindow::planCanceled()
|
||||
{
|
||||
showProfile();
|
||||
refreshDisplay();
|
||||
refreshDisplay(false);
|
||||
}
|
||||
|
||||
void MainWindow::planCreated()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue