Fix of issue 3109, max number of generations are now set to 50, equal in ancestor tree and descendent tree.

svn: r12816
This commit is contained in:
Peter Landgren 2009-07-19 06:56:20 +00:00
parent a77d4fd3ae
commit 4a2fa50abb

View File

@ -464,7 +464,7 @@ class AncestorTreeOptions(MenuReportOptions):
pid.set_help(_("The center person for the tree"))
menu.add_option(category_name, "pid", pid)
max_gen = NumberOption(_("Generations"), 10, 1, 15)
max_gen = NumberOption(_("Generations"), 10, 1, 50)
max_gen.set_help(_("The number of generations to include in the tree"))
menu.add_option(category_name, "maxgen", max_gen)