* 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:
parent
00e0bdfff8
commit
c46dff68a2
@ -8,6 +8,12 @@
|
|||||||
* src/Marriage.py (on_add_clicked,on_event_update_clicked): Typos.
|
* src/Marriage.py (on_add_clicked,on_event_update_clicked): Typos.
|
||||||
* src/AddSpouse.py (select_spouse_clicked): Typo.
|
* src/AddSpouse.py (select_spouse_clicked): Typo.
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2005-03-07 Alex Roitman <shura@alex.neuro.umn.edu>
|
2005-03-07 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
* src/AddrEdit.py: Typo.
|
* src/AddrEdit.py: Typo.
|
||||||
* src/EditPerson.py (on_add_addr_clicked): Typos.
|
* src/EditPerson.py (on_add_addr_clicked): Typos.
|
||||||
|
@ -376,6 +376,7 @@ class ChooseParents:
|
|||||||
else:
|
else:
|
||||||
self.father = None
|
self.father = None
|
||||||
|
|
||||||
|
return
|
||||||
if not self.parent_selected and self.father:
|
if not self.parent_selected and self.father:
|
||||||
self.parent_selected = 1
|
self.parent_selected = 1
|
||||||
family_handle_list = self.father.get_family_handle_list()
|
family_handle_list = self.father.get_family_handle_list()
|
||||||
@ -399,6 +400,7 @@ class ChooseParents:
|
|||||||
self.mother = self.db.get_person_from_handle(idlist[0])
|
self.mother = self.db.get_person_from_handle(idlist[0])
|
||||||
else:
|
else:
|
||||||
self.mother = None
|
self.mother = None
|
||||||
|
return
|
||||||
|
|
||||||
if not self.parent_selected and self.mother:
|
if not self.parent_selected and self.mother:
|
||||||
self.parent_selected = 1
|
self.parent_selected = 1
|
||||||
|
@ -475,7 +475,10 @@ class EditPerson:
|
|||||||
})
|
})
|
||||||
|
|
||||||
if self.parent:
|
if self.parent:
|
||||||
|
try:
|
||||||
self.update_sources = self.parent.source_view.build_tree
|
self.update_sources = self.parent.source_view.build_tree
|
||||||
|
except AttributeError:
|
||||||
|
self.update_sources = None
|
||||||
else:
|
else:
|
||||||
self.update_sources = None
|
self.update_sources = None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user