* src/PeopleView.py: fix on_get_iter on delete person
svn: r4886
This commit is contained in:
parent
7312561e7c
commit
89f33a6be4
@ -1,3 +1,6 @@
|
||||
2005-06-27 Don Allingham <don@gramps-project.org>
|
||||
* src/PeopleView.py: fix on_get_iter on delete person
|
||||
|
||||
2005-06-27 Julio Sanchez <jsanchez@users.sourceforge.net>
|
||||
* src/po/es.po: Translation fixes
|
||||
* src/GenericFilter.py: Do not attempt to translate user filters,
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user