Fix adding of places in internal map

svn: r6126
This commit is contained in:
Don Allingham 2006-03-10 03:26:21 +00:00
parent 1c147b3cd3
commit 99cd0fe2dc
3 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,5 @@
2006-03-09 Don Allingham <don@gramps-project.org>
* 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

View File

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

View File

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