* src/Report.py (parse_report_options_frame): Do not allow
negative-numbered selection in the filter menu. svn: r5375
This commit is contained in:
parent
841ecdb4c6
commit
0b94abb585
@ -2,6 +2,9 @@
|
||||
* src/EditPlace.py: Fix idle for new objects.
|
||||
* src/EditSource.py: Fix idle for new objects.
|
||||
* src/ImageSelect.py: Fix idle for new objects.
|
||||
* src/Report.py (parse_report_options_frame): Do not allow
|
||||
negative-numbered selection in the filter menu.
|
||||
|
||||
|
||||
2005-11-07 Alex Roitman <shura@gramps-project.org>
|
||||
* src/EditPlace.py: Convert References to the list view.
|
||||
|
@ -839,7 +839,7 @@ class BareReportDialog:
|
||||
if self.filter_combo:
|
||||
try:
|
||||
self.filter = self.filter_combo.get_value()
|
||||
active = self.filter_combo.get_active()
|
||||
active = max(0,self.filter_combo.get_active())
|
||||
self.options.handler.set_filter_number(active)
|
||||
except:
|
||||
print "Error setting filter. Proceeding with 'Everyone'"
|
||||
|
Loading…
x
Reference in New Issue
Block a user