From 6c0383e56879e2fbb480d7e39aa43895dbb5137c Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 22 May 2003 03:15:48 +0000 Subject: [PATCH] Pass the correct object to apply_filter when apply is clicked svn: r1570 --- gramps2/src/gramps_main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps2/src/gramps_main.py b/gramps2/src/gramps_main.py index 026bb1b90..5cc07d567 100755 --- a/gramps2/src/gramps_main.py +++ b/gramps2/src/gramps_main.py @@ -1613,7 +1613,7 @@ class Gramps: self.DataFilter = class_init(qualifer) self.DataFilter.set_invert(invert_filter) self.model_used = {} - self.apply_filter(self.person_model) + self.apply_filter(self.person_tree) def on_filter_name_changed(self,obj): filter = obj.get_data("filter") @@ -1865,9 +1865,9 @@ class Gramps: model.remove(iter) del self.id2col[key] - for i in self.pl_page: i.sort() + self.modify_statusbar() def create_new_panel(self,pg):