Reviewers: ,


Please review this at http://codereview.tryton.org/779003/

Affected files:
  M tryton/gui/window/view_form/view/list_gtk/parser.py


Index: tryton/gui/window/view_form/view/list_gtk/parser.py
===================================================================

--- 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 @@
 
     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
 

Reply via email to