forked from qt-creator/qt-creator
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:
committed by
Łukasz Ornatek
parent
a7c14b5493
commit
f074e205a0
@@ -269,6 +269,7 @@ Section {
|
|||||||
}
|
}
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
backendValues.text.value = richTextEditor.richText
|
backendValues.text.value = richTextEditor.richText
|
||||||
|
backendValues.textFormat.setEnumeration("Text", "RichText")
|
||||||
hideWidget()
|
hideWidget()
|
||||||
richTextDialogLoader.visible = false
|
richTextDialogLoader.visible = false
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user