This commit is contained in:
Mario Voigt 2023-08-19 17:46:51 +02:00
parent 49de97160c
commit c7a417b191

View File

@ -45,10 +45,12 @@ class Reload(inkex.EffectExtension):
originalRoot.attrib[copyAttrib] = copyRoot.attrib[copyAttrib] originalRoot.attrib[copyAttrib] = copyRoot.attrib[copyAttrib]
#update all attributes in originalNamedview #update all attributes in originalNamedview
if copyNamedview is not None:
for copyAttrib in copyNamedview.attrib: for copyAttrib in copyNamedview.attrib:
originalNamedview.attrib[copyAttrib] = copyNamedview.attrib[copyAttrib] originalNamedview.attrib[copyAttrib] = copyNamedview.attrib[copyAttrib]
#update all attributes in originalDefs #update all attributes in originalDefs
if copyDefs is not None:
for copyAttrib in copyDefs.attrib: for copyAttrib in copyDefs.attrib:
originalDefs.attrib[copyAttrib] = copyDefs.attrib[copyAttrib] originalDefs.attrib[copyAttrib] = copyDefs.attrib[copyAttrib]