* src/EditPerson.py (__init__): Only set update sources if possible

(calls from ChooseParents don't provide the correct parent, but then
the full update goes on anyway).
* src/ChooseParents.py (mother_list_select_row,
father_list_select_row): Comment out auto-selection of parents.


svn: r4139
This commit is contained in:
Alex Roitman
2005-03-08 22:24:41 +00:00
parent 00e0bdfff8
commit c46dff68a2
3 changed files with 13 additions and 2 deletions

View File

@ -475,7 +475,10 @@ class EditPerson:
})
if self.parent:
self.update_sources = self.parent.source_view.build_tree
try:
self.update_sources = self.parent.source_view.build_tree
except AttributeError:
self.update_sources = None
else:
self.update_sources = None