Fix error when deleting person

svn: r14324
This commit is contained in:
Nick Hall 2010-02-11 19:35:05 +00:00
parent 6652da9e0c
commit bdcd760437

View File

@ -309,7 +309,7 @@ class BasePersonView(ListView):
path = self.model.on_get_path(node) path = self.model.on_get_path(node)
(col, row) = path (col, row) = path
if row > 0: if row > 0:
self.selection.select_path((col, row1)) self.selection.select_path((col, row))
elif row == 0 and self.model.on_get_iter(path): elif row == 0 and self.model.on_get_iter(path):
self.selection.select_path(path) self.selection.select_path(path)