diff options
author | Marc Englund <marc.englund@itmill.com> | 2008-03-12 07:26:00 +0000 |
---|---|---|
committer | Marc Englund <marc.englund@itmill.com> | 2008-03-12 07:26:00 +0000 |
commit | dd13fff6aa69982bb1cfc470d20ef85188d383ac (patch) | |
tree | 10cc08aa9dea88ac22100056db1fb705da4b8a76 /src/com/itmill | |
parent | 3b0c7f3c00ce0f2025f5100573331f5aa6dad9fe (diff) | |
download | vaadin-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/com/itmill')
-rw-r--r-- | src/com/itmill/toolkit/ui/AbstractSelect.java | 2 |
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); |