From 4207f7e8d88affd9e4ca80cbd49387d80ef296b0 Mon Sep 17 00:00:00 2001 From: Guillermo Alvarez Date: Fri, 12 Sep 2014 15:49:53 +0300 Subject: Fix multiselection pressing shift before starting (#13483) selectionRangeStart wasn't set when starting a selection pressing shift. SelectAllRowsTest was rewritten to enable extension to test this issue. Change-Id: I1b578b28ba89fc8215ec853d92de09f44c2d58e6 --- client/src/com/vaadin/client/ui/VScrollTable.java | 1 + 1 file changed, 1 insertion(+) (limited to 'client') diff --git a/client/src/com/vaadin/client/ui/VScrollTable.java b/client/src/com/vaadin/client/ui/VScrollTable.java index 2e3c110d43..859d600daf 100644 --- a/client/src/com/vaadin/client/ui/VScrollTable.java +++ b/client/src/com/vaadin/client/ui/VScrollTable.java @@ -6439,6 +6439,7 @@ public class VScrollTable extends FlowPanel implements HasWidgets, VScrollTableRow startRow = selectionRangeStart; if (startRow == null) { startRow = focusedRow; + selectionRangeStart = focusedRow; // If start row is null then we have a multipage selection // from // above -- cgit v1.2.3