mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Initialise cylinder start pressure with working pressure
In the planner, this is the natural assumption. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
a07b6b4d97
commit
6d3c2327bd
2 changed files with 2 additions and 0 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue