summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/diveplanner.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 8e2cc0e2d..c5ca7f74c 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -1119,6 +1119,7 @@ int DivePlannerPointsModel::rowCount(const QModelIndex& parent) const
DivePlannerPointsModel::DivePlannerPointsModel(QObject* parent): QAbstractTableModel(parent), mode(NOTHING), stagingDive(NULL)
{
+ diveplan.dp = NULL;
}
DivePlannerPointsModel* DivePlannerPointsModel::instance()