diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-10-09 10:10:38 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-10-09 10:10:38 +0200 |
commit | 705a86fd35e9d3dceac10a088efb7116ef1a3382 (patch) | |
tree | 53e53bb2d59e198b92b8ea3b1147de1481c132be /framework/qml/TextEditor.qml | |
parent | 8e0bc9119487840025a3ce8cdfcb842f7dff4eaf (diff) | |
download | kube-705a86fd35e9d3dceac10a088efb7116ef1a3382.tar.gz kube-705a86fd35e9d3dceac10a088efb7116ef1a3382.zip |
Fix draft loading.
Diffstat (limited to 'framework/qml/TextEditor.qml')
-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: { |