* src/ChooseParents.py: fix parent selection

* src/FamilyView.py: fix update of parents after selction
* src/PeopleView.py: fix update of parents after selction
* src/gramps_main.py: fix update of parents after selction
* src/EditPerson.py: fix person id reference


svn: r3244
This commit is contained in:
Don Allingham
2004-06-29 03:51:49 +00:00
parent 4a3b978f9e
commit 72a04eef03
6 changed files with 23 additions and 21 deletions

View File

@ -158,12 +158,10 @@ class PeopleView:
self.sort_model.set_visible_column(PeopleModel.COLUMN_VIEW)
self.person_tree.set_model(self.sort_model)
def remove_from_person_list(self,person,old_id=None):
def remove_from_person_list(self,person):
"""Remove the selected person from the list. A person object is
expected, not an ID"""
if old_id == None:
old_id = person.get_id()
path = self.person_model.on_get_path(old_id)
path = self.person_model.on_get_path(person.get_id())
self.person_model.row_deleted(path)
def remove_from_history(self,person_id,old_id=None):