diff options
-rw-r--r-- | framework/qml/TextEditor.qml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/qml/TextEditor.qml b/framework/qml/TextEditor.qml index 3ce6b482..784cdecd 100644 --- a/framework/qml/TextEditor.qml +++ b/framework/qml/TextEditor.qml | |||
@@ -34,9 +34,7 @@ FocusScope { | |||
34 | 34 | ||
35 | property string initialText | 35 | property string initialText |
36 | onInitialTextChanged: { | 36 | onInitialTextChanged: { |
37 | if (text == "") { | 37 | edit.text = initialText |
38 | edit.text = initialText | ||
39 | } | ||
40 | } | 38 | } |
41 | 39 | ||
42 | onHtmlEnabledChanged: { | 40 | onHtmlEnabledChanged: { |