summaryrefslogtreecommitdiffstats
path: root/framework/qml/TextEditor.qml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qml/TextEditor.qml')
-rw-r--r--framework/qml/TextEditor.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/TextEditor.qml b/framework/qml/TextEditor.qml
index ec5993b7..e5cc665c 100644
--- a/framework/qml/TextEditor.qml
+++ b/framework/qml/TextEditor.qml
@@ -39,7 +39,7 @@ FocusScope {
39 39
40 onHtmlEnabledChanged: { 40 onHtmlEnabledChanged: {
41 if (htmlEnabled) { 41 if (htmlEnabled) {
42 var t = document.plainText 42 var t = document.htmlText
43 edit.textFormat = Qt.RichText 43 edit.textFormat = Qt.RichText
44 edit.text = t 44 edit.text = t
45 } else { 45 } else {