summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorGuillermo Alvarez <guillermo@vaadin.com>2014-09-12 15:49:53 +0300
committerVaadin Code Review <review@vaadin.com>2014-09-16 08:20:49 +0000
commit04d793d80505f8c8274800e2620a2186ae32409d (patch)
tree006fbebc2e4d2dfee7b075a8eb8d1615a7083ebe /client
parent3ec310f9554551fd793d2a210afccac5ab2ed9f6 (diff)
downloadvaadin-framework-04d793d80505f8c8274800e2620a2186ae32409d.tar.gz
vaadin-framework-04d793d80505f8c8274800e2620a2186ae32409d.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