Fix: reset icon dissapears for default values

CURA-5059
This commit is contained in:
Aleksei S 2018-03-12 15:15:19 +01:00
parent bb7fccbd48
commit c3b659c5d4

View file

@ -372,10 +372,8 @@ Item
containerStackId: Cura.MachineManager.activeMachineId containerStackId: Cura.MachineManager.activeMachineId
key: model.key ? model.key : "" key: model.key ? model.key : ""
watchedProperties: [ "value", "enabled", "state", "validationState", "settable_per_extruder", "resolve" ] watchedProperties: [ "value", "enabled", "state", "validationState", "settable_per_extruder" ]
storeIndex: 0 storeIndex: 0
// Due to the way setPropertyValue works, removeUnusedValue gives the correct output in case of resolve
removeUnusedValue: model.resolve == undefined
} }
Connections Connections