summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 0d5b79edd..76f81961f 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -876,9 +876,6 @@ void DivePlannerPointsModel::createPlan()
char *cache = NULL;
tempDive = NULL;
- if (!diveplan.dp)
- return cancelPlan();
-
bool oldRecalc = plannerModel->setRecalc(false);
removeDeco();
createTemporaryPlan();