summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-08-22 23:41:22 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-08-22 23:41:22 (GMT)
commit0303d8da8555ccbf28ee4dcdb5367302ed940534 (patch)
treeb925c9098a08bdd42328ff599dfe6d52919a76bc /examples/declarative
parent0e9aae9a14d6e3bb513ffe6d21009b6ff09c0dc8 (diff)
downloadQt-0303d8da8555ccbf28ee4dcdb5367302ed940534.zip
Qt-0303d8da8555ccbf28ee4dcdb5367302ed940534.tar.gz
Qt-0303d8da8555ccbf28ee4dcdb5367302ed940534.tar.bz2
Enable mouse text selection in searchbox example
Add selectByMouse: true Task-number: QTBUG-13024
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/ui-components/searchbox/SearchBox.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/declarative/ui-components/searchbox/SearchBox.qml b/examples/declarative/ui-components/searchbox/SearchBox.qml
index 6d87837..8ef21b3 100644
--- a/examples/declarative/ui-components/searchbox/SearchBox.qml
+++ b/examples/declarative/ui-components/searchbox/SearchBox.qml
@@ -75,6 +75,7 @@ FocusScope {
id: textInput
anchors { left: parent.left; leftMargin: 8; right: clear.left; rightMargin: 8; verticalCenter: parent.verticalCenter }
focus: true
+ selectByMouse: true
}
Image {