From a8cf8bfb96590334d76489a1d0ed41fa5b251ca7 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 10 Mar 2006 21:13:48 +0000 Subject: [PATCH] icon fixes svn: r6130 --- src/DataViews/_FamilyList.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/DataViews/_FamilyList.py b/src/DataViews/_FamilyList.py index 6c48d13d3..f60081a07 100644 --- a/src/DataViews/_FamilyList.py +++ b/src/DataViews/_FamilyList.py @@ -74,6 +74,7 @@ class FamilyListView(PageView.ListView): column_names,len(column_names), DisplayModels.FamilyModel, signal_map) + self.updating = False def column_order(self): return self.dbstate.db.get_family_list_column_order() @@ -121,7 +122,16 @@ class FamilyListView(PageView.ListView): pass def family_add(self,handle_list): + while not self.redraw(handle_list): + pass + + def redraw(self,handle_list): + if self.updating: + return False + self.updating = True self.row_add(handle_list) + self.updating = False + return True def remove(self,obj): return