0005449: Pedigree view crashes ... : add help button + suppress CLI tool mode
This commit is contained in:
parent
4525b87071
commit
9fe4820f4c
@ -55,6 +55,8 @@ from gramps.gui.editors import EditFamily
|
||||
# Constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
WIKI_HELP_PAGE = '%s_-_Tools' % URL_MANUAL_PAGE
|
||||
WIKI_HELP_SEC = _('manual|Find_possible_loop_in_the_database')
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -198,8 +200,7 @@ class FindLoop(ManagedWindow) :
|
||||
|
||||
def on_help_clicked(self, obj):
|
||||
"""Display the relevant portion of GRAMPS manual"""
|
||||
pass
|
||||
|
||||
display_help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -494,5 +494,5 @@ authors_email = ["serge.noiraud@free.fr"],
|
||||
category = TOOL_UTILS,
|
||||
toolclass = 'FindLoop',
|
||||
optionclass = 'FindLoopOptions',
|
||||
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
|
||||
tool_modes = [TOOL_MODE_GUI]
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user