Call set_cursor after excape in editabletree if there is still records
This commit is contained in:
1 parent
0b93701e33
commit
4f80e51d5e
1 file changed
+2
-1
@@ -198,7 +198,8 @@ class EditableTreeView(gtk.TreeView):
|
||||
and path[0]:
|
||||
path = (path[0] - 1,)
|
||||
self.screen.display()
|
||||
self.set_cursor(path, column, False)
|
||||
if len(self.screen.models.models):
|
||||
self.set_cursor(path, column, False)
|
||||
elif event.keyval in (gtk.keysyms.F3, gtk.keysyms.F2):
|
||||
if isinstance(entry, gtk.Entry):
|
||||
value = entry.get_text()
|
||||
|
||||
Reference in new issue
Block a user