commit places properly

svn: r6125
This commit is contained in:
Don Allingham 2006-03-10 02:46:19 +00:00
parent 064ad83c6a
commit 1c147b3cd3
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
2006-03-09 Don Allingham <don@gramps-project.org>
* src/Editors/_EditEventRef.py: commit place properly
* src/DataViews/_FamilyView.py: avoid reentry
* src/DataViews/_PedigreeView.py: handle PluginUtils
* src/DataViews/_PersonView.py: handle remove person better

View File

@ -196,6 +196,7 @@ class EditEventRef(EditReference):
(need_new, handle) = self.place_field.get_place_info()
if need_new:
place_obj = RelLib.Place()
place_obj.set_handle(Utils.create_id())
place_obj.set_title(handle)
self.source.set_place_handle(place_obj.get_handle())
else: