3782: Cannot set max generation > 15; use the same value as DAR and pedigree gramplet

svn: r16531
This commit is contained in:
Jérôme Rapinat 2011-02-01 15:00:41 +00:00
parent 9b574f4a73
commit 4bd49bf19e

View File

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