]> source.dussan.org Git - vaadin-framework.git/commitdiff
#6860 TextFileProperty read-only notification fix
authorHenri Sara <henri.sara@itmill.com>
Tue, 19 Apr 2011 11:30:43 +0000 (11:30 +0000)
committerHenri Sara <henri.sara@itmill.com>
Tue, 19 Apr 2011 11:30:43 +0000 (11:30 +0000)
svn changeset:18379/svn branch:6.6

src/com/vaadin/data/util/TextFileProperty.java

index 005372a04b2f24aa79267f89a3ca23388c734e82..5915ddd664d57ea4e47f9dfe18c30f42bfa151ca 100644 (file)
@@ -115,7 +115,7 @@ public class TextFileProperty extends AbstractProperty {
      * @see com.vaadin.data.Property#setReadOnly(boolean)\r
      */\r
     public void setReadOnly(boolean newStatus) {\r
-        boolean oldStatus = readonly;\r
+        boolean oldStatus = isReadOnly();\r
         readonly = newStatus;\r
         if (isReadOnly() != oldStatus) {\r
             fireReadOnlyStatusChange();\r