summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorGuillermo Alvarez <guillermo@vaadin.com>2014-09-12 15:49:53 +0300
committerSauli Tähkäpää <sauli@vaadin.com>2014-09-24 21:01:42 +0300
commit4207f7e8d88affd9e4ca80cbd49387d80ef296b0 (patch)
tree523ec9bf09034e604716a82480b69e360fa664f4 /client
parent943f7ef099c0d203f522b99673849882dcf3ce93 (diff)
downloadvaadin-framework-4207f7e8d88affd9e4ca80cbd49387d80ef296b0.tar.gz
vaadin-framework-4207f7e8d88affd9e4ca80cbd49387d80ef296b0.zip
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
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/VScrollTable.java1
1 files changed, 1 insertions, 0 deletions
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