* src/PeopleView.py: partial implementation of the alexrithm to
select a new person after a person has been deleted svn: r4881
This commit is contained in:
parent
a0daefea9a
commit
de379adca1
@ -1,4 +1,6 @@
|
||||
2005-06-26 Don Allingham <don@gramps-project.org>
|
||||
* src/PeopleView.py: partial implementation of the alexrithm to
|
||||
select a new person after a person has been deleted
|
||||
* src/const.py.in: fix confidence display
|
||||
* src/ReadXML.py: prevent duplicate place names on import
|
||||
* src/ReadGedcom.py: prevent duplicate place names on import
|
||||
|
@ -202,6 +202,11 @@ class PeopleView:
|
||||
expected, not an ID"""
|
||||
path = self.person_model.on_get_path(person.get_handle())
|
||||
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):
|
||||
self.person_selection.select_path(path)
|
||||
|
||||
def remove_from_history(self,person_handle,old_id=None):
|
||||
"""Removes a person from the history list"""
|
||||
|
Loading…
Reference in New Issue
Block a user