summaryrefslogtreecommitdiffstats
path: root/demos/declarative/webbrowser
diff options
context:
space:
mode:
authorTapani Mikola <tapani.mikola@nokia.com>2009-08-07 05:42:33 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-08-13 05:19:52 (GMT)
commitfb4e1ab74a0c2a2fb7fcbf251fee138742495781 (patch)
tree07c9b799c255b92e74209ea0ba771fbfd7cd751c /demos/declarative/webbrowser
parent54b28d3db32fdda768ec0561a5694c8fcd07685f (diff)
downloadQt-fb4e1ab74a0c2a2fb7fcbf251fee138742495781.zip
Qt-fb4e1ab74a0c2a2fb7fcbf251fee138742495781.tar.gz
Qt-fb4e1ab74a0c2a2fb7fcbf251fee138742495781.tar.bz2
Added selectAll call to the url FieldText when starting edit.
Diffstat (limited to 'demos/declarative/webbrowser')
-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;
}
}