mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
propertyvalue update was not successful because of _remove_unused_value in propertyProvider
CURA-10967
This commit is contained in:
parent
51bc2a8c63
commit
ebf58aa972
2 changed files with 3 additions and 4 deletions
|
@ -15,6 +15,7 @@ import Cura 1.7 as Cura
|
|||
Cura.ComboBox {
|
||||
textRole: "text"
|
||||
property alias settingName: propertyProvider.key
|
||||
property alias propertyRemoveUnusedValue: propertyProvider.removeUnusedValue
|
||||
|
||||
// If true, all extruders will have "settingName" property updated.
|
||||
// The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine.
|
||||
|
@ -89,9 +90,7 @@ Cura.ComboBox {
|
|||
}
|
||||
function forceUpdateSettings()
|
||||
{
|
||||
updateAllExtruders = false
|
||||
comboboxModel.updateModel();
|
||||
propertyProvider.setPropertyValueForce("value", comboboxModel.get(currentIndex).code)
|
||||
}
|
||||
|
||||
function updateSetting(value)
|
||||
|
@ -102,7 +101,7 @@ Cura.ComboBox {
|
|||
}
|
||||
else
|
||||
{
|
||||
propertyProvider.setPropertyValueForce("value", value)
|
||||
propertyProvider.setPropertyValue("value", value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue