aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/models.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 4defd72d2..0bdbfccd9 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -304,8 +304,6 @@ void CylindersModel::clear()
void CylindersModel::updateDive()
{
clear();
- if (dive_table.nr == 0)
- return;
rows = 0;
for (int i = 0; i < MAX_CYLINDERS; i++) {
if (!cylinder_none(&displayed_dive.cylinder[i]) &&