3463: Re-select edited row after edit in tree view
svn: r13922
This commit is contained in:
parent
5422931318
commit
ad5aa7006e
@ -654,6 +654,9 @@ class ListView(NavigationView):
|
|||||||
self.model.update_row_by_handle(handle)
|
self.model.update_row_by_handle(handle)
|
||||||
_LOG.debug(' ' + self.__class__.__name__ + ' row_update ' +
|
_LOG.debug(' ' + self.__class__.__name__ + ' row_update ' +
|
||||||
str(time.clock() - cput) + ' sec')
|
str(time.clock() - cput) + ' sec')
|
||||||
|
# Ensure row is still selected after a change of postion in tree.
|
||||||
|
if not self.selected_handles():
|
||||||
|
self.goto_handle(handle)
|
||||||
else:
|
else:
|
||||||
self.dirty = True
|
self.dirty = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user