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 5239d8a2..f55405ff 100644
--- a/examples/quickcontrols2/texteditor/qml/texteditor.qml
+++ b/examples/quickcontrols2/texteditor/qml/texteditor.qml
@@ -175,7 +175,7 @@ ApplicationWindow {
FontDialog {
id: fontDialog
- onFontSelected: {
+ onAccepted: {
document.fontFamily = font.family;
document.fontSize = font.pointSize;
}