4635: Localized FAQ gramplet incorrectly generates links to the wiki

svn: r16661
This commit is contained in:
Doug Blank 2011-02-18 02:22:22 +00:00
parent 33f2d64cdd
commit 74ba4baca2

View File

@ -654,7 +654,12 @@ class GuiGramplet(object):
return True
elif link_type == 'WIKI':
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
elif link_type == 'Family':
family = self.dbstate.db.get_family_from_handle(handle)