Fix adding of places in internal map
svn: r6126
This commit is contained in:
parent
1c147b3cd3
commit
99cd0fe2dc
@ -1,4 +1,5 @@
|
|||||||
2006-03-09 Don Allingham <don@gramps-project.org>
|
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/Editors/_EditEventRef.py: commit place properly
|
||||||
* src/DataViews/_FamilyView.py: avoid reentry
|
* src/DataViews/_FamilyView.py: avoid reentry
|
||||||
* src/DataViews/_PedigreeView.py: handle PluginUtils
|
* src/DataViews/_PedigreeView.py: handle PluginUtils
|
||||||
|
@ -238,7 +238,6 @@ class FamilyView(PageView.PersonNavView):
|
|||||||
def change_person(self,obj):
|
def change_person(self,obj):
|
||||||
if self.redrawing:
|
if self.redrawing:
|
||||||
return False
|
return False
|
||||||
print "DRAW"
|
|
||||||
self.redrawing = True
|
self.redrawing = True
|
||||||
|
|
||||||
old_child = self.child
|
old_child = self.child
|
||||||
@ -251,7 +250,6 @@ class FamilyView(PageView.PersonNavView):
|
|||||||
|
|
||||||
self.row = 5
|
self.row = 5
|
||||||
family_handle_list = person.get_parent_family_handle_list()
|
family_handle_list = person.get_parent_family_handle_list()
|
||||||
print family_handle_list
|
|
||||||
if family_handle_list:
|
if family_handle_list:
|
||||||
for (family_handle,mrel,frel) in family_handle_list:
|
for (family_handle,mrel,frel) in family_handle_list:
|
||||||
if family_handle:
|
if family_handle:
|
||||||
|
@ -2006,7 +2006,7 @@ class DbState(GrampsDBCallback):
|
|||||||
def _place_add(self,handle_list):
|
def _place_add(self,handle_list):
|
||||||
for handle in handle_list:
|
for handle in handle_list:
|
||||||
place = self.db.get_place_from_handle(handle)
|
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):
|
def _place_update(self,handle_list):
|
||||||
for handle in handle_list:
|
for handle in handle_list:
|
||||||
|
Loading…
Reference in New Issue
Block a user