diff options
Diffstat (limited to 'examples/quick/controls/texteditor/qml/main.qml')
-rw-r--r-- | examples/quick/controls/texteditor/qml/main.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/controls/texteditor/qml/main.qml b/examples/quick/controls/texteditor/qml/main.qml index cefbf434..42f5e7f9 100644 --- a/examples/quick/controls/texteditor/qml/main.qml +++ b/examples/quick/controls/texteditor/qml/main.qml @@ -169,7 +169,6 @@ ApplicationWindow { ColorDialog { id: colorDialog color: "black" - onAccepted: document.textColor = color } Action { @@ -333,6 +332,7 @@ ApplicationWindow { cursorPosition: textArea.cursorPosition selectionStart: textArea.selectionStart selectionEnd: textArea.selectionEnd + textColor: colorDialog.color Component.onCompleted: document.fileUrl = "qrc:/example.html" onFontSizeChanged: { fontSizeSpinBox.valueGuard = false |