From 89f33a6be409ccd2cf026722e28ecab9829aed0b Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 28 Jun 2005 03:35:24 +0000 Subject: [PATCH] * src/PeopleView.py: fix on_get_iter on delete person svn: r4886 --- gramps2/ChangeLog | 3 +++ gramps2/src/PeopleView.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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):