3432: Fix family selection in report options

svn: r13968
This commit is contained in:
Nick Hall 2010-01-04 14:15:07 +00:00
parent 7c152a868a
commit c7cebc637f

View File

@ -55,7 +55,7 @@ import ManagedWindow
from QuestionDialog import OptionDialog from QuestionDialog import OptionDialog
from gui.selectors import SelectorFactory from gui.selectors import SelectorFactory
from BasicUtils import name_displayer as _nd from BasicUtils import name_displayer as _nd
from Filters import GenericFilter, Rules from Filters import GenericFilterFactory, GenericFilter, Rules
import gen import gen
#------------------------------------------------------------------------ #------------------------------------------------------------------------
@ -561,7 +561,7 @@ class GuiFamilyOption(gtk.HBox):
Handle the button to choose a different family. Handle the button to choose a different family.
""" """
# Create a filter for the person selector. # Create a filter for the person selector.
rfilter = GenericFilter() rfilter = GenericFilterFactory('Family')()
rfilter.set_logical_op('or') rfilter.set_logical_op('or')
# Add the current family # Add the current family