Merge branch 'CURA-5548_fix_sync_button_for_downloaded_materials'

This commit is contained in:
Ghostkeeper 2018-07-09 14:39:04 +02:00
commit 588991660e
No known key found for this signature in database
GPG Key ID: 5252B696FB5E7C7A

View File

@ -378,7 +378,6 @@ class MaterialManager(QObject):
# Look at the guid to material dictionary
root_material_id = None
for material_group in self._guid_material_groups_map[material_guid]:
if material_group.is_read_only:
root_material_id = material_group.root_material_node.metadata["id"]
break