summaryrefslogtreecommitdiffstats
path: root/demos/declarative
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative')
-rw-r--r--demos/declarative/webbrowser/fieldtext/FieldText.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/declarative/webbrowser/fieldtext/FieldText.qml b/demos/declarative/webbrowser/fieldtext/FieldText.qml
index e5db879..a9d9504 100644
--- a/demos/declarative/webbrowser/fieldtext/FieldText.qml
+++ b/demos/declarative/webbrowser/fieldtext/FieldText.qml
@@ -17,6 +17,7 @@ Item {
if (!mouseGrabbed) {
fieldText.startEdit();
fieldText.state='editing';
+ textEdit.selectAll();
mouseGrabbed=true;
}
}