Sfoglia il codice sorgente

Merge pull request #818 from BDisp/textfield-read-only

Fixes #814. Allows change on a read only TextField programmatically.
Charlie Kindel 5 anni fa
parent
commit
c1d49a8b0f
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      Terminal.Gui/Views/TextField.cs

+ 0 - 3
Terminal.Gui/Views/TextField.cs

@@ -129,9 +129,6 @@ namespace Terminal.Gui {
 			}
 
 			set {
-				if (ReadOnly)
-					return;
-
 				var oldText = ustring.Make (text);
 
 				if (oldText == value)