mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 18:55:59 +08: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
@ -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…
x
Reference in New Issue
Block a user