0005588: [XML]: Media object handling on citation and private marker on (source reference). Add media object to citation. No change needed for privacy.
svn: r18947
This commit is contained in:
parent
b422c82edb
commit
212c752202
@ -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')),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user