We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57fe2e6 commit 2bba632Copy full SHA for 2bba632
src/qml/value-editor/editors/MultilineEditor.qml
@@ -156,14 +156,13 @@ ColumnLayout
156
uiBlocker.visible = false
157
})
158
} else {
159
+ textView.textFormat = (format === "html")
160
+ ? TextEdit.RichText
161
+ : TextEdit.PlainText;
162
+
163
textView.model = qmlUtils.wrapLargeText(formatted)
164
textView.readOnly = isReadOnly
165
root.isEdited = false
-
- if (format === "html")
- textView.textFormat = TextEdit.RichText
- else
166
- textView.textFormat = TextEdit.PlainText
167
}
168
169
0 commit comments