summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r--qt-ui/models.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 4d9e19190..2228c8e5e 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -267,9 +267,9 @@ bool CylindersModel::setData(const QModelIndex &index, const QVariant &value, in
changed = true;
}
}
- dataChanged(index, index);
if (addDiveMode)
DivePlannerPointsModel::instance()->tanksUpdated();
+ dataChanged(index, index);
return true;
}