5881: data_item ignored on citation object
svn: r19931
This commit is contained in:
parent
ad66d4ba4c
commit
b913cde440
@ -1012,7 +1012,10 @@ class GrampsParser(UpdateCallback):
|
||||
self.ord.set_temple(attrs['val'])
|
||||
|
||||
def start_data_item(self, attrs):
|
||||
self.source.set_data_item(attrs['key'], attrs['value'])
|
||||
if self.source:
|
||||
self.source.set_data_item(attrs['key'], attrs['value'])
|
||||
else:
|
||||
self.citation.set_data_item(attrs['key'], attrs['value'])
|
||||
|
||||
def start_status(self, attrs):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user