Skip to content

Commit 0790612

Browse files
carlesalbasboixNick-Hall
authored andcommitted
Allow 0 ancestors/descendants in hourglass graph
1 parent b033316 commit 0790612

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gramps/plugins/graph/gvhourglass.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -443,13 +443,13 @@ def add_menu_options(self, menu):
443443
pid.set_help(_("The Center person for the graph"))
444444
menu.add_option(category_name, "pid", pid)
445445

446-
max_gen_d = NumberOption(_("Max Descendant Generations"), 10, 1, 15)
446+
max_gen_d = NumberOption(_("Max Descendant Generations"), 10, 0, 15)
447447
max_gen_d.set_help(
448448
_("The number of generations of descendants to " "include in the graph")
449449
)
450450
menu.add_option(category_name, "maxdescend", max_gen_d)
451451

452-
max_gen_a = NumberOption(_("Max Ancestor Generations"), 10, 1, 15)
452+
max_gen_a = NumberOption(_("Max Ancestor Generations"), 10, 0, 15)
453453
max_gen_a.set_help(
454454
_("The number of generations of ancestors to " "include in the graph")
455455
)

0 commit comments

Comments
 (0)