diff options
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index 0bdbfccd9..777329cb9 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -312,7 +312,6 @@ void CylindersModel::updateDive() displayed_dive.cylinder[i].manually_added)) rows = i + 1; } - changed = false; if (rows > 0) { beginInsertRows(QModelIndex(), 0, rows - 1); endInsertRows(); @@ -636,7 +635,6 @@ void WeightModel::updateDive() rows = i + 1; } } - changed = false; if (rows > 0) { beginInsertRows(QModelIndex(), 0, rows - 1); endInsertRows(); |