Follow StyledText links to include other objects, too
svn: r15520
This commit is contained in:
parent
8d2e6a82c4
commit
3989ef284f
@ -293,6 +293,12 @@ class ReferencedBySelectionProxyDb(ProxyDbBase):
|
||||
note = self.db.get_note_from_handle(note_handle)
|
||||
if note:
|
||||
self.referenced["Note"].add(note_handle)
|
||||
for tag in note.text.get_tags():
|
||||
if tag.name == 'Link':
|
||||
if tag.value.startswith("gramps://"):
|
||||
obj_class, prop, value = tag.value[9:].split("/")
|
||||
if prop == "handle":
|
||||
self.process_object(obj_class, value)
|
||||
|
||||
# --------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user