mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
CURA-4495 Change property name and add default values
This commit is contained in:
parent
6ddf8ce649
commit
4a211c6ac6
3 changed files with 4 additions and 4 deletions
|
@ -19,8 +19,6 @@ Item {
|
|||
property alias contents: controlContainer.children
|
||||
property alias hovered: mouse.containsMouse
|
||||
|
||||
property var resetHandler: false
|
||||
|
||||
property var showRevertButton: true
|
||||
property var showInheritButton: true
|
||||
property var showLinkedSettingIcon: true
|
||||
|
@ -183,8 +181,8 @@ Item {
|
|||
onClicked: {
|
||||
revertButton.focus = true
|
||||
|
||||
if (resetHandler) {
|
||||
resetHandler(propertyProvider.key)
|
||||
if (externalResetHandler) {
|
||||
externalResetHandler(propertyProvider.key)
|
||||
} else {
|
||||
Cura.MachineManager.clearUserSettingAllCurrentStacks(propertyProvider.key)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue