diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index cb7bb1a82..1e45b342d 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-06-27 Don Allingham + * src/PeopleView.py: fix on_get_iter on delete person + 2005-06-27 Julio Sanchez * src/po/es.po: Translation fixes * src/GenericFilter.py: Do not attempt to translate user filters, diff --git a/gramps2/src/PeopleView.py b/gramps2/src/PeopleView.py index a89db1dd3..4b39bd620 100644 --- a/gramps2/src/PeopleView.py +++ b/gramps2/src/PeopleView.py @@ -201,11 +201,11 @@ class PeopleView: """Remove the selected person from the list. A person object is expected, not an ID""" path = self.person_model.on_get_path(person.get_handle()) - self.person_model.row_deleted(path) + #self.person_model.row_deleted(path) (col,row) = path if row > 0: self.person_selection.select_path((col,row-1)) - elif row == 0 and self.person.on_get_iter(path): + elif row == 0 and self.person_model.on_get_iter(path): self.person_selection.select_path(path) def remove_from_history(self,person_handle,old_id=None):