* src/DataViews/_PersonView.py (person_removed): Typo.

svn: r7824
This commit is contained in:
Alex Roitman 2006-12-19 18:03:34 +00:00
parent ba0a093898
commit 8dd862fc93
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
2006-12-19 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_PersonView.py (person_removed): Typo.
* src/PluginUtils/_Options.py (save): Use unicode, not str.
2006-12-18 Alex Roitman <shura@gramps-project.org>

View File

@ -721,8 +721,8 @@ class PersonView(PageView.PersonNavView):
else:
col,text,inv = self.search_bar.get_value()
func = lambda x: self.model.on_get_value(x, col) or u""
print col, PeopleModel.PeopleModel._GENDER_COL
if col == PeopleModel.PeopleModel._GENDER_COL:
print col, PeopleModel._GENDER_COL
if col == PeopleModel._GENDER_COL:
data_filter = ExactSearchFilter(func, text, inv)
else:
data_filter = SearchFilter(func, text, inv)