4635: Localized FAQ gramplet incorrectly generates links to the wiki
svn: r16661
This commit is contained in:
parent
33f2d64cdd
commit
74ba4baca2
@ -654,7 +654,12 @@ class GuiGramplet(object):
|
|||||||
return True
|
return True
|
||||||
elif link_type == 'WIKI':
|
elif link_type == 'WIKI':
|
||||||
if event.button == 1: # left mouse
|
if event.button == 1: # left mouse
|
||||||
GrampsDisplay.help(handle.replace(" ", "_"))
|
handle = handle.replace(" ", "_")
|
||||||
|
if "#" in handle:
|
||||||
|
page, section = handle.split("#", 1)
|
||||||
|
GrampsDisplay.help(page, section)
|
||||||
|
else:
|
||||||
|
GrampsDisplay.help(handle)
|
||||||
return True
|
return True
|
||||||
elif link_type == 'Family':
|
elif link_type == 'Family':
|
||||||
family = self.dbstate.db.get_family_from_handle(handle)
|
family = self.dbstate.db.get_family_from_handle(handle)
|
||||||
|
Loading…
Reference in New Issue
Block a user