diff options
author | Henri Sara <henri.sara@itmill.com> | 2011-04-19 11:30:43 +0000 |
---|---|---|
committer | Henri Sara <henri.sara@itmill.com> | 2011-04-19 11:30:43 +0000 |
commit | 370979eb4082df297ebb70f544714dd0fdb3fb10 (patch) | |
tree | e06da7549d3a831bfc6174ec88f8392b586edbea /src/com/vaadin/data | |
parent | 1fa0f8df05e014ca456b3ba067fd79c4608f4cde (diff) | |
download | vaadin-framework-370979eb4082df297ebb70f544714dd0fdb3fb10.tar.gz vaadin-framework-370979eb4082df297ebb70f544714dd0fdb3fb10.zip |
#6860 TextFileProperty read-only notification fix
svn changeset:18379/svn branch:6.6
Diffstat (limited to 'src/com/vaadin/data')
-rw-r--r-- | src/com/vaadin/data/util/TextFileProperty.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/data/util/TextFileProperty.java b/src/com/vaadin/data/util/TextFileProperty.java index 005372a04b..5915ddd664 100644 --- a/src/com/vaadin/data/util/TextFileProperty.java +++ b/src/com/vaadin/data/util/TextFileProperty.java @@ -115,7 +115,7 @@ public class TextFileProperty extends AbstractProperty { * @see com.vaadin.data.Property#setReadOnly(boolean)
*/
public void setReadOnly(boolean newStatus) {
- boolean oldStatus = readonly;
+ boolean oldStatus = isReadOnly();
readonly = newStatus;
if (isReadOnly() != oldStatus) {
fireReadOnlyStatusChange();
|