From 82b719bddc73650eeece00ac434493e32eeef7f4 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 9 Mar 2005 17:12:58 +0000 Subject: [PATCH] * srcNameEdit.py: assign date on close svn: r4145 --- ChangeLog | 3 +++ src/NameEdit.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 110134f37..bf5b6d4d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2005-03-09 Don Allingham + * srcNameEdit.py: assign date on close + 2005-03-09 Alex Roitman * src/PedView.py: Import RelLib for accessing relationship constants. * src/NameEdit.py: Use empty Date for newly created name. diff --git a/src/NameEdit.py b/src/NameEdit.py index f19d49a2c..862c1a2f8 100644 --- a/src/NameEdit.py +++ b/src/NameEdit.py @@ -264,6 +264,8 @@ class NameEditor: if self.name == None: self.name = RelLib.Name() self.parent.nlist.append(self.name) + + self.name.set_date_object(self.date_obj) self.name.set_source_reference_list(self.srcreflist)