Resolve value is now correctly displayed in profilesPage

CURA-2844
This commit is contained in:
Jaime van Kessel 2016-11-25 13:29:46 +01:00
parent a6ea4edfb4
commit 361aee3e3c

View file

@ -178,6 +178,12 @@ class QualitySettingsModel(UM.Qt.ListModel.ListModel):
profile_value_source = container.getMetaDataEntry("type")
profile_value = new_value
# Global tab should use resolve (if there is one)
if not self._extruder_id:
resolve_value = global_container_stack.getProperty(definition.key, "resolve")
if resolve_value is not None and profile_value is not None:
profile_value = resolve_value
user_value = None
if not self._extruder_id:
user_value = global_container_stack.getTop().getProperty(definition.key, "value")