diff --git a/src/TreeViews/_PersonTreeView.py b/src/TreeViews/_PersonTreeView.py index b9fc73714..fa0068293 100644 --- a/src/TreeViews/_PersonTreeView.py +++ b/src/TreeViews/_PersonTreeView.py @@ -56,7 +56,7 @@ class PersonTreeView(gtk.TreeView): self.set_model(PersonFilterModel(self._db,apply_filter)) def clear_filter(self): - self.set_model(PersonModel(self._db)) + self.set_model(PersonTreeModel(self._db)) # Accessor methods for the columns diff --git a/test/try_tree_model.py b/test/try_tree_model.py index e7126042c..64321c6d9 100644 --- a/test/try_tree_model.py +++ b/test/try_tree_model.py @@ -3,9 +3,9 @@ import gtk import gobject import sys, os -sys.path.append("..") +sys.path.append("../src") -from Models import PersonModel,PersonFilterModel +#from Models import PersonModel,PersonFilterModel from TreeViews import PersonTreeView import GenericFilter