diff --git a/src/ReportBase/_ReportOptions.py b/src/ReportBase/_ReportOptions.py index d8337b405..d29ce1694 100644 --- a/src/ReportBase/_ReportOptions.py +++ b/src/ReportBase/_ReportOptions.py @@ -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])