Support multiline text, fix text format

Explicitly set TextFormat to "RichText" when using rich text editor

Task-number: QDS-2229
Change-Id: I8f0110415b8125465779231426e66ecc53eae5fe
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Lukasz Ornatek
2020-07-22 16:20:02 +02:00
committed by Łukasz Ornatek
parent a7c14b5493
commit f074e205a0

View File

@@ -269,6 +269,7 @@ Section {
}
onAccepted: {
backendValues.text.value = richTextEditor.richText
backendValues.textFormat.setEnumeration("Text", "RichText")
hideWidget()
richTextDialogLoader.visible = false
}