* src/Report.py (parse_report_options_frame): Fallback to trivial
filter on filter failure. svn: r5014
This commit is contained in:
parent
5374ed4b64
commit
4ac3779a96
@ -3,6 +3,8 @@
|
||||
* src/MergePeople.py: Typos.
|
||||
* src/plugins/NavWebPage.py: Typos.
|
||||
* src/po/template.po: Update for upcoming 2.0.6.
|
||||
* src/Report.py (parse_report_options_frame): Fallback to trivial
|
||||
filter on filter failure.
|
||||
|
||||
2005-08-04 Don Allingham <don@gramps-project.org>
|
||||
* src/PeopleModel.py: provide a work around for the python 2.3 bug unicode
|
||||
|
@ -834,9 +834,13 @@ class BareReportDialog:
|
||||
self.options.handler.set_report_generations(self.max_gen,self.pg_brk)
|
||||
|
||||
if self.filter_combo:
|
||||
self.filter = self.filter_combo.get_value()
|
||||
active = self.filter_combo.get_active()
|
||||
self.options.handler.set_filter_number(active)
|
||||
try:
|
||||
self.filter = self.filter_combo.get_value()
|
||||
active = self.filter_combo.get_active()
|
||||
self.options.handler.set_filter_number(active)
|
||||
except:
|
||||
print "Error setting filter. Proceeding with 'Everyone'"
|
||||
self.filter = GenericFilter.Everyone([])
|
||||
else:
|
||||
self.filter = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user