diff --git a/tryton/gui/window/view_form/view/list_gtk/parser.py b/tryton/gui/window/view_form/view/list_gtk/parser.py index 4a560f3acf..eb6d60d0ce 100644 --- a/tryton/gui/window/view_form/view/list_gtk/parser.py +++ b/tryton/gui/window/view_form/view/list_gtk/parser.py @@ -298,7 +298,7 @@ class ParserTree(ParserInterface): def set_selection(self, treeview, direction): selection = treeview.get_selection() - if len(treeview.get_model()): + if len(treeview.get_model()) and not selection.count_selected_rows(): selection.select_path(0) return False