Fix adding of places in internal map
svn: r6126
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user