0002957: Crash when displaying the configuration of a book created with Gramps 3.0.x

svn: r12841
This commit is contained in:
Brian Matherly 2009-07-28 04:08:26 +00:00
parent d2ad12a90a
commit 7f4732714b

View File

@ -814,5 +814,6 @@ class MenuReportOptions(GuiMenuOptions, ReportOptions):
# properly.
for optname in self.options_dict:
menu_option = self.menu.get_option_by_name(optname)
menu_option.set_value(self.options_dict[optname])
if menu_option:
menu_option.set_value(self.options_dict[optname])