From fb4e1ab74a0c2a2fb7fcbf251fee138742495781 Mon Sep 17 00:00:00 2001 From: Tapani Mikola Date: Fri, 7 Aug 2009 08:42:33 +0300 Subject: Added selectAll call to the url FieldText when starting edit. --- demos/declarative/webbrowser/fieldtext/FieldText.qml | 1 + 1 file changed, 1 insertion(+) 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; } } -- cgit v0.12