summaryrefslogtreecommitdiffstats
path: root/framework/qml/TextEditor.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-09 10:10:38 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-09 10:10:38 +0200
commit705a86fd35e9d3dceac10a088efb7116ef1a3382 (patch)
tree53e53bb2d59e198b92b8ea3b1147de1481c132be /framework/qml/TextEditor.qml
parent8e0bc9119487840025a3ce8cdfcb842f7dff4eaf (diff)
downloadkube-705a86fd35e9d3dceac10a088efb7116ef1a3382.tar.gz
kube-705a86fd35e9d3dceac10a088efb7116ef1a3382.zip
Fix draft loading.
Diffstat (limited to 'framework/qml/TextEditor.qml')
-rw-r--r--framework/qml/TextEditor.qml4
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: {