* srcNameEdit.py: assign date on close

svn: r4145
This commit is contained in:
Don Allingham 2005-03-09 17:12:58 +00:00
parent 3ccc11f763
commit 9b7c7bc4f2
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2005-03-09 Don Allingham <don@gramps-project.org>
* srcNameEdit.py: assign date on close
2005-03-09 Alex Roitman <shura@alex.neuro.umn.edu>
* src/PedView.py: Import RelLib for accessing relationship constants.
* src/NameEdit.py: Use empty Date for newly created name.

View File

@ -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)