Cura/cura/Settings
Ghostkeeper 8ae49c317c
Emit metaDataChanged when changing properties
Properties is a dictionary inside the metadata dictionary. If you change one of the properties, it'll check afterwards if the dictionary is different from what it was before, but since the dictionary is passed by reference all the time, it'll think that the dictionary didn't change: The reference is still the same, so the thing it checks against is updated along.
This solution is a bit ugly but it does notice when the metadata changed inside the properties and then emits a change signal.

Contributes to issue CURA-2822.
2017-06-29 15:03:49 +02:00
..
__init__.py Heaps to changes to get the Cura code through the type checker (with minimal checking). 2016-11-21 21:36:08 +01:00
ContainerManager.py Emit metaDataChanged when changing properties 2017-06-29 15:03:49 +02:00
ContainerSettingsModel.py Use ListModel.setItems() instead of appending one item at a time 2016-08-29 13:43:02 +02:00
CuraContainerRegistry.py Only set material for imported quality profile if there is an active material 2017-05-29 15:52:29 +02:00
CuraContainerStack.py Use .definition to access DefinitionContainer in qml 2017-05-30 12:49:12 +02:00
CuraStackBuilder.py Fix creating conflicting machine names 2017-05-18 13:52:20 +02:00
Exceptions.py Override getProperty in ExtruderStack with some additional checks 2017-04-11 17:45:23 +02:00
ExtruderManager.py No longer crash when trying to get non existing extruder stacks 2017-06-26 13:16:14 +02:00
ExtrudersModel.py Removed debug ID 2017-05-22 14:25:29 +02:00
ExtruderStack.py Only use limit_to_extruder when the extruder exists 2017-05-19 13:37:38 +02:00
GlobalStack.py Fix checking whether the old material diameter was the same 2017-06-22 18:17:16 +02:00
MachineManager.py Merge branch '2.6' 2017-06-27 16:25:55 +02:00
MachineNameValidator.py Fixed a bunch of error which were reported by PyCharm's code analysis. 2017-02-26 21:05:09 +01:00
MaterialManager.py Fix applying material diameter undo 2017-06-22 18:17:15 +02:00
MaterialSettingsVisibilityHandler.py Use full import path for parent class 2017-02-17 12:42:11 +01:00
MaterialsModel.py Add MaterialsModel to make material list update upon metadata change 2017-06-22 18:17:16 +02:00
ProfilesModel.py Added typing to all singletons 2017-04-13 16:32:17 +02:00
QualityAndUserProfilesModel.py Also apply the filtering on the quality and user profiles model 2017-06-15 17:18:04 +02:00
QualitySettingsModel.py Merge branch 'master' into python_type_hinting 2017-01-17 08:42:55 +01:00
SetObjectExtruderOperation.py Add a SetObjectExtruderOperation class 2017-04-20 17:42:06 +02:00
SettingInheritanceManager.py Use CuraContainerStack.definition instead of ContainerStack.getBottom() 2017-05-22 14:01:58 +02:00
SettingOverrideDecorator.py Add a selectedObjectExtruders property to ExtruderManager 2017-04-20 17:42:06 +02:00
UserChangesModel.py Coding style fixes 2017-03-08 15:09:02 +01:00
UserProfilesModel.py Only display global quality changes profiles 2017-06-15 14:38:04 +02:00