diff options
Diffstat (limited to 'qt-models/cylindermodel.cpp')
-rw-r--r-- | qt-models/cylindermodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp index e46048222..5bb25f505 100644 --- a/qt-models/cylindermodel.cpp +++ b/qt-models/cylindermodel.cpp @@ -447,6 +447,7 @@ void CylindersModel::add() int row = rows; fill_default_cylinder(&displayed_dive.cylinder[row]); + displayed_dive.cylinder[row].start = displayed_dive.cylinder[row].type.workingpressure; displayed_dive.cylinder[row].manually_added = true; beginInsertRows(QModelIndex(), row, row); rows++; |