summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.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/diveplanner.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/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 15cdc5409..2a7bd8d40 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -908,13 +908,6 @@ void DivePlannerPointsModel::cancelPlan()
setPlanMode(NOTHING);
diveplan.dp = NULL;
-
-
-
- // somewhere, somehow we need to make sure that the current_dive is displayed again
-
-
-
emit planCanceled();
}