mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix layering violations in DivePlannerPointsModel.
Signed-off-by: Michael Keller <mikeller@042.ch>
This commit is contained in:
parent
2d8e343221
commit
14b9074f40
4 changed files with 11 additions and 7 deletions
|
@ -677,7 +677,9 @@ void PlannerWidgets::printDecoPlan()
|
|||
|
||||
void PlannerWidgets::setDiveMode(int mode)
|
||||
{
|
||||
DivePlannerPointsModel::instance()->setDiveMode(mode);
|
||||
planned_dive->get_dc(dcNr)->divemode = (divemode_t)mode;
|
||||
DivePlannerPointsModel::instance()->cylindersChanged();
|
||||
|
||||
plannerWidget.setColumnVisibility(mode);
|
||||
plannerSettingsWidget.setBailoutVisibility(mode);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue