aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/quickcontrols2/texteditor/qml/texteditor.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quickcontrols2/texteditor/qml/texteditor.qml b/examples/quickcontrols2/texteditor/qml/texteditor.qml
index db2a2afd..5239d8a2 100644
--- a/examples/quickcontrols2/texteditor/qml/texteditor.qml
+++ b/examples/quickcontrols2/texteditor/qml/texteditor.qml
@@ -359,7 +359,7 @@ ApplicationWindow {
cursorPosition: textArea.cursorPosition
selectionStart: textArea.selectionStart
selectionEnd: textArea.selectionEnd
- textColor: colorDialog.currentColor
+ textColor: colorDialog.color
// TODO: if we don't do this, e.g. the bold button won't be checked
// when it should be (the title is bold)
Component.onCompleted: document.load("qrc:/texteditor.html")