diff --git a/gramps/gen/proxy/referencedbyselection.py b/gramps/gen/proxy/referencedbyselection.py index 9739fb482..8b3338634 100644 --- a/gramps/gen/proxy/referencedbyselection.py +++ b/gramps/gen/proxy/referencedbyselection.py @@ -325,6 +325,8 @@ class ReferencedBySelectionProxyDb(ProxyDbBase): if tag.name == 'Link': if tag.value.startswith("gramps://"): obj_class, prop, value = tag.value[9:].split("/") + if obj_class == "Media": # bug6493 + obj_class = "MediaObject" if prop == "handle": self.process_object(obj_class, value)