mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Planner: only update the plan after the cylinder data has been updated
This way we avoid trying to create a dive from the plan while the plan references the cylinder that has just been changed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
63c21d55de
commit
3d90bd34b2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue