From 5f2c22a186deb1b141dd39e1f866fdb056517840 Mon Sep 17 00:00:00 2001 From: Tim G L Lyons Date: Tue, 21 Feb 2012 23:23:13 +0000 Subject: [PATCH] 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 --- src/plugins/import/ImportXml.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/import/ImportXml.py b/src/plugins/import/ImportXml.py index cc27b0427..032fb3bbb 100644 --- a/src/plugins/import/ImportXml.py +++ b/src/plugins/import/ImportXml.py @@ -1973,6 +1973,8 @@ class GrampsParser(UpdateCallback): self.person.add_media_reference(self.objref) elif self.placeobj: self.placeobj.add_media_reference(self.objref) + elif self.citation: + self.citation.add_media_reference(self.objref) def start_region(self, attrs): rect = (int(attrs.get('corner1_x')),