diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 110134f37..bf5b6d4d8 100644 --- a/gramps2/ChangeLog +++ b/gramps2/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/gramps2/src/NameEdit.py b/gramps2/src/NameEdit.py index f19d49a2c..862c1a2f8 100644 --- a/gramps2/src/NameEdit.py +++ b/gramps2/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)