From 370979eb4082df297ebb70f544714dd0fdb3fb10 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Tue, 19 Apr 2011 11:30:43 +0000 Subject: [PATCH] #6860 TextFileProperty read-only notification fix svn changeset:18379/svn branch:6.6 --- src/com/vaadin/data/util/TextFileProperty.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5