referencedbyselection.py. 0006493: crash during Calculate Preview of a filtered XML export.
svn: r21786
This commit is contained in:
parent
7ac463b03b
commit
a421439a76
@ -325,6 +325,8 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
|
|||||||
if tag.name == 'Link':
|
if tag.name == 'Link':
|
||||||
if tag.value.startswith("gramps://"):
|
if tag.value.startswith("gramps://"):
|
||||||
obj_class, prop, value = tag.value[9:].split("/")
|
obj_class, prop, value = tag.value[9:].split("/")
|
||||||
|
if obj_class == "Media": # bug6493
|
||||||
|
obj_class = "MediaObject"
|
||||||
if prop == "handle":
|
if prop == "handle":
|
||||||
self.process_object(obj_class, value)
|
self.process_object(obj_class, value)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user