diff options
author | Jonatan Kronqvist <jonatan.kronqvist@itmill.com> | 2011-10-07 08:14:06 +0000 |
---|---|---|
committer | Jonatan Kronqvist <jonatan.kronqvist@itmill.com> | 2011-10-07 08:14:06 +0000 |
commit | 69c95b6bb6225570931a1c2b4a3f32531a65cab0 (patch) | |
tree | 990c7aa1735e4b519607bbd7715ded7cc4b981ea /src/com | |
parent | 4bb70102310d681bfdff627443c9707638889bcf (diff) | |
download | vaadin-framework-69c95b6bb6225570931a1c2b4a3f32531a65cab0.tar.gz vaadin-framework-69c95b6bb6225570931a1c2b4a3f32531a65cab0.zip |
Fix and tests for #7720
svn changeset:21636/svn branch:6.7
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java index 53aa4c407e..933c5de1c9 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java @@ -1382,7 +1382,7 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler, private void updateBody(UIDL uidl, int firstRow, int reqRows) { if (uidl == null || reqRows < 1) { // container is empty, remove possibly existing rows - if (firstRow < 0) { + if (firstRow <= 0) { while (scrollBody.getLastRendered() > scrollBody.firstRendered) { scrollBody.unlinkRow(false); } |