From 87ef9d437c9a4cdb20a87b286e2dd51c9bd17508 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sun, 31 Aug 2003 03:29:12 +0000 Subject: [PATCH] * src/docgen/PdfDoc.py: Support drawing functions. * src/docgen/PdfDrawDoc.py: remove - all functions integrated into PdfDoc.py * src/DbPrompter.py: change title from "Save" to "Create" when opening a new database, prompt with last database saved. * src/FamilyView.py: don't add columns to the child list if it is already initialized svn: r2065 --- src/FamilyView.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/FamilyView.py b/src/FamilyView.py index dd459e664..5039a0b5b 100644 --- a/src/FamilyView.py +++ b/src/FamilyView.py @@ -178,11 +178,11 @@ class FamilyView: self.child_list.set_search_column(0) self.child_selection = self.child_list.get_selection() - Utils.build_columns(self.child_list, - [ ('',30,0), (_('Name'),250,-1), (_('ID'),50,-1), - (_('Gender'),100,-1), (_('Birth date'),150,6), - (_('Status'),100,-1), ('',0,-1) ]) - + if not already_init: + Utils.build_columns(self.child_list, + [ ('',30,0), (_('Name'),250,-1), (_('ID'),50,-1), + (_('Gender'),100,-1), (_('Birth date'),150,6), + (_('Status'),100,-1), ('',0,-1) ]) self.cadded[fv] = 1 def edit_active_person(self,obj,event):