0005588: [XML]: Media object handling on citation and private marker on (source reference). Add media object to citation. No change needed for privacy.

svn: r18948
This commit is contained in:
Tim G L Lyons 2012-02-21 23:23:13 +00:00
parent e6849bd417
commit 5f2c22a186

View File

@ -1973,6 +1973,8 @@ class GrampsParser(UpdateCallback):
self.person.add_media_reference(self.objref) self.person.add_media_reference(self.objref)
elif self.placeobj: elif self.placeobj:
self.placeobj.add_media_reference(self.objref) self.placeobj.add_media_reference(self.objref)
elif self.citation:
self.citation.add_media_reference(self.objref)
def start_region(self, attrs): def start_region(self, attrs):
rect = (int(attrs.get('corner1_x')), rect = (int(attrs.get('corner1_x')),