diff options
Diffstat (limited to 'framework/qml/TextEditor.qml')
-rw-r--r-- | framework/qml/TextEditor.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/TextEditor.qml b/framework/qml/TextEditor.qml index 8a5c2bb9..3ce6b482 100644 --- a/framework/qml/TextEditor.qml +++ b/framework/qml/TextEditor.qml | |||
@@ -46,8 +46,8 @@ FocusScope { | |||
46 | edit.text = t | 46 | edit.text = t |
47 | } else { | 47 | } else { |
48 | var t = document.plainText | 48 | var t = document.plainText |
49 | document.resetFormat() | ||
49 | edit.textFormat = Qt.PlainText | 50 | edit.textFormat = Qt.PlainText |
50 | edit.font.bold = false | ||
51 | edit.text = t | 51 | edit.text = t |
52 | } | 52 | } |
53 | } | 53 | } |