From 6f199d1948667760b0a2d02f08d8af2eada05dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 10 Mar 2014 20:19:50 +0100 Subject: [PATCH] scroll to cell when setting cursor in editable treeview issue3737 review4111002 --- tryton/gui/window/view_form/view/list_gtk/editabletree.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tryton/gui/window/view_form/view/list_gtk/editabletree.py b/tryton/gui/window/view_form/view/list_gtk/editabletree.py index 50b660c8df..2a566f4dac 100644 --- a/tryton/gui/window/view_form/view/list_gtk/editabletree.py +++ b/tryton/gui/window/view_form/view/list_gtk/editabletree.py @@ -104,6 +104,7 @@ class EditableTreeView(TreeView): self.grab_focus() if focus_column and (focus_column._type in ('boolean')): start_editing = False + self.scroll_to_cell(path, focus_column, use_align=False) super(EditableTreeView, self).set_cursor(path, focus_column, start_editing)