0004821: get_family_from_gramps_id(fid) broken on initialize_family (gui/plug/_guioptions.py)
svn: r17233
This commit is contained in:
		@@ -750,9 +750,9 @@ class GuiFamilyOption(gtk.HBox):
 | 
			
		||||
 | 
			
		||||
        if len(fid):
 | 
			
		||||
            # Use the stored option value
 | 
			
		||||
            family = self.__db.get_family_from_gramps_id(fid).get_handle()
 | 
			
		||||
            family = self.__db.get_family_from_gramps_id(fid)
 | 
			
		||||
            if family:
 | 
			
		||||
                family_list = [family]
 | 
			
		||||
                family_list = [family.get_handle()]
 | 
			
		||||
        else:
 | 
			
		||||
            # Use the active family if one is selected
 | 
			
		||||
            family = self.__uistate.get_active('Family')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user