Skip to content

Commit

Permalink
Use shorter name to reduce line length.
Browse files Browse the repository at this point in the history
  • Loading branch information
tengel authored and prculley committed Apr 13, 2020
1 parent 32230d6 commit 349edca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gramps/plugins/textreport/indivcomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def __init__(self, database, options, user):

self.sort = menu.get_option_by_name('sort').get_value()

self.name_is_title = menu.get_option_by_name('name_is_title').get_value()
self.name_is_title = menu.get_option_by_name('name_title').get_value()

self.use_attrs = menu.get_option_by_name('incl_attrs').get_value()
self.use_census = menu.get_option_by_name('incl_census').get_value()
Expand Down Expand Up @@ -1088,7 +1088,7 @@ def add_menu_options(self, menu):
name_is_title = BooleanOption(_("Use name of person as title"), False)
name_is_title.set_help(_("Whether the title should be the name of the "
"person, or 'Complete Individual Report'"))
menu.add_option(category_name, "name_is_title", name_is_title)
menu.add_option(category_name, "name_title", name_is_title)

################################
category_name = _("Report Options (2)")
Expand Down

0 comments on commit 349edca

Please sign in to comment.