summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Englund <marc.englund@itmill.com>2008-03-12 07:26:00 +0000
committerMarc Englund <marc.englund@itmill.com>2008-03-12 07:26:00 +0000
commitdd13fff6aa69982bb1cfc470d20ef85188d383ac (patch)
tree10cc08aa9dea88ac22100056db1fb705da4b8a76 /src
parent3b0c7f3c00ce0f2025f5100573331f5aa6dad9fe (diff)
downloadvaadin-framework-dd13fff6aa69982bb1cfc470d20ef85188d383ac.tar.gz
vaadin-framework-dd13fff6aa69982bb1cfc470d20ef85188d383ac.zip
One more: Abstract select assumed Property is always ValueChangeNotifier (bug in if -clause)
svn changeset:4029/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/ui/AbstractSelect.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/ui/AbstractSelect.java b/src/com/itmill/toolkit/ui/AbstractSelect.java
index 9c0523e02e..bda24b1ecf 100644
--- a/src/com/itmill/toolkit/ui/AbstractSelect.java
+++ b/src/com/itmill/toolkit/ui/AbstractSelect.java
@@ -1621,7 +1621,7 @@ public abstract class AbstractSelect extends AbstractField implements
for (Iterator it = pids.iterator(); it.hasNext();) {
Property p = i.getItemProperty(it.next());
if (p != null
- || p instanceof Property.ValueChangeNotifier) {
+ && p instanceof Property.ValueChangeNotifier) {
((Property.ValueChangeNotifier) p)
.addListener(getCaptionChangeListener());
captionChangeNotifiers.add(p);