From 99cd0fe2dc784522c82dd578a681e0d51d9c54fa Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 10 Mar 2006 03:26:21 +0000 Subject: [PATCH] Fix adding of places in internal map svn: r6126 --- ChangeLog | 1 + src/DataViews/_FamilyView.py | 2 -- src/GrampsDb/_GrampsDbBase.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 610320fc2..30a37423d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2006-03-09 Don Allingham + * src/GrampsDb/_GrampsDbBase.py: fix add of places in internal map * src/Editors/_EditEventRef.py: commit place properly * src/DataViews/_FamilyView.py: avoid reentry * src/DataViews/_PedigreeView.py: handle PluginUtils diff --git a/src/DataViews/_FamilyView.py b/src/DataViews/_FamilyView.py index c139d9061..39caeed40 100644 --- a/src/DataViews/_FamilyView.py +++ b/src/DataViews/_FamilyView.py @@ -238,7 +238,6 @@ class FamilyView(PageView.PersonNavView): def change_person(self,obj): if self.redrawing: return False - print "DRAW" self.redrawing = True old_child = self.child @@ -251,7 +250,6 @@ class FamilyView(PageView.PersonNavView): self.row = 5 family_handle_list = person.get_parent_family_handle_list() - print family_handle_list if family_handle_list: for (family_handle,mrel,frel) in family_handle_list: if family_handle: diff --git a/src/GrampsDb/_GrampsDbBase.py b/src/GrampsDb/_GrampsDbBase.py index 47a2c4ebc..8d32bebf7 100644 --- a/src/GrampsDb/_GrampsDbBase.py +++ b/src/GrampsDb/_GrampsDbBase.py @@ -2006,7 +2006,7 @@ class DbState(GrampsDBCallback): def _place_add(self,handle_list): for handle in handle_list: place = self.db.get_place_from_handle(handle) - self.places[place.get_title()] = handle + self.places[handle] = place.get_title() def _place_update(self,handle_list): for handle in handle_list: