From fc26fe0ff4011c0a35ee319d1dc588ccd6f26138 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 5 Nov 2003 11:37:00 +0000 Subject: [PATCH] 2003-11-05 Tim Waugh * src/gramps_main.py, src/FamilyView.py: Fix children enumeration in family view. svn: r2318 --- ChangeLog | 3 +++ src/FamilyView.py | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7fd458ce6..81d521400 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-11-05 Tim Waugh + * src/gramps_main.py, src/FamilyView.py: Fix children enumeration + in family view. + * src/plugins/FilterEditor.py (ShowResults.__init__): Sort results. diff --git a/src/FamilyView.py b/src/FamilyView.py index 601ad0f7f..245fc9d4e 100644 --- a/src/FamilyView.py +++ b/src/FamilyView.py @@ -190,7 +190,7 @@ class FamilyView: if not already_init: Utils.build_columns(self.child_list, - [ ('',30,0), (_('Name'),250,-1), (_('ID'),50,-1), + [ (' ',30,0), (_('Name'),250,-1), (_('ID'),50,-1), (_('Gender'),100,-1), (_('Birth date'),150,6), (_('Status'),100,-1), ('',0,-1) ]) self.cadded[fv] = 1 @@ -810,8 +810,9 @@ class FamilyView: if fiter == None: fiter = self.child_model.get_path(iter) val = self.parent.db.getPersonDisplay(child.getId()) + i += 1 self.child_model.set(iter, - 0,(i+1), + 0,i, 1,val[0], 2,val[1], 3,val[2],