* src/MergeData.py (on_merge_places_clicked): Commit event.

svn: r4345
This commit is contained in:
Alex Roitman 2005-04-11 14:36:33 +00:00
parent d46ddf9866
commit 2837586ceb
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2005-04-11 Alex Roitman <shura@gramps-project.org>
* src/MergeData.py (on_merge_places_clicked): Commit event.
2005-04-11 Martin Hawlisch <Martin.Hawlisch@gmx.de> 2005-04-11 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/PedView.py (load_canvas): Catch bug of not existing family * src/PedView.py (load_canvas): Catch bug of not existing family

View File

@ -137,6 +137,7 @@ class MergePlaces:
event = self.db.get_event_from_handle(handle) event = self.db.get_event_from_handle(handle)
if event.get_place_handle() == self.old_handle: if event.get_place_handle() == self.old_handle:
event.set_place_handle(self.new_handle) event.set_place_handle(self.new_handle)
self.db.commit_event(event,self.trans)
# personal LDS ordinances # personal LDS ordinances
for handle in self.db.get_person_handles(sort_handles=False): for handle in self.db.get_person_handles(sort_handles=False):