summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2011-11-17 11:44:13 +0000
committerArtur Signell <artur.signell@itmill.com>2011-11-17 11:44:13 +0000
commitb587b80cbd96da566b0359f61ffec4250e0a9d76 (patch)
tree785ee9e5e3034acb0554d08a2f81588943242886 /src
parent664cd522e5a3d1de400eec94f5f584a4b93767ef (diff)
downloadvaadin-framework-b587b80cbd96da566b0359f61ffec4250e0a9d76.tar.gz
vaadin-framework-b587b80cbd96da566b0359f61ffec4250e0a9d76.zip
#7950 ComboBox show paging button even though there are no matches
svn changeset:22033/svn branch:6.7
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java
index cb75a508cb..29e1221a06 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java
@@ -1108,6 +1108,8 @@ public class VFilterSelect extends Composite implements Paintable, Field,
final UIDL options = uidl.getChildUIDL(0);
if (uidl.hasAttribute("totalMatches")) {
totalMatches = uidl.getIntAttribute("totalMatches");
+ } else {
+ totalMatches = 0;
}
// used only to calculate minimum popup width