Fix potential crash in book report.
svn: r12839
This commit is contained in:
parent
55a98c40ce
commit
d2ad12a90a
@ -799,6 +799,7 @@ class BookReportSelector(ManagedWindow.ManagedWindow):
|
||||
menu = item.option_class.menu
|
||||
for optname in opt_dict:
|
||||
menu_option = menu.get_option_by_name(optname)
|
||||
if menu_option:
|
||||
menu_option.set_value(opt_dict[optname])
|
||||
|
||||
_initialize_options(item.option_class, self.dbstate)
|
||||
|
Loading…
Reference in New Issue
Block a user