fix #24
This commit is contained in:
parent
49de97160c
commit
c7a417b191
@ -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]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user