mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Update when a setting is removed from the list
Add a connection to check when a setting was or not removed from the list of the added settings in the PerObjectSettings panel.
This commit is contained in:
parent
c841382bbd
commit
69f92ff311
1 changed files with 11 additions and 0 deletions
|
@ -29,6 +29,17 @@ UM.TooltipArea
|
||||||
UM.ActiveTool.forceUpdate();
|
UM.ActiveTool.forceUpdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// When the user removes settings from the list addedSettingsModel, we need to recheck if the
|
||||||
|
// setting is visible or not to show a mark in the CheckBox.
|
||||||
|
Connections
|
||||||
|
{
|
||||||
|
target: addedSettingsModel
|
||||||
|
onVisibleCountChanged:
|
||||||
|
{
|
||||||
|
check.checked = addedSettingsModel.getVisible(model.key)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue