diff options
-rw-r--r-- | qt-ui/locationinformation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index 2cc554f81..4c11326f3 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -378,7 +378,8 @@ bool DiveLocationModel::setData(const QModelIndex &index, const QVariant &value, DiveLocationLineEdit::DiveLocationLineEdit(QWidget *parent) : QLineEdit(parent), proxy(new DiveLocationFilterProxyModel()), model(new DiveLocationModel()), - view(new DiveLocationListView()) + view(new DiveLocationListView()), + currType(NO_DIVE_SITE) { currUuid = 0; location_line_edit = this; |