summaryrefslogtreecommitdiffstats
path: root/examples/declarative/modelviews
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-05-31 05:45:01 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-05-31 05:49:01 (GMT)
commitb8b1e9784583e3b5960b1966328299f8a1bec440 (patch)
tree26b147cdf82bde0b3d97610a8449fcc1599d2246 /examples/declarative/modelviews
parentc00e6b499e89e4b872e9148c5f8a37f9050d9c84 (diff)
downloadQt-b8b1e9784583e3b5960b1966328299f8a1bec440.zip
Qt-b8b1e9784583e3b5960b1966328299f8a1bec440.tar.gz
Qt-b8b1e9784583e3b5960b1966328299f8a1bec440.tar.bz2
Simplify selection setting. Make TextInput more like TextEdit.
By making selectionStart/End read-only, and adding adding select(). Task-number: QTBUG-11056
Diffstat (limited to 'examples/declarative/modelviews')
-rw-r--r--examples/declarative/modelviews/webview/content/FieldText.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/declarative/modelviews/webview/content/FieldText.qml b/examples/declarative/modelviews/webview/content/FieldText.qml
index c9adde5..17fa4cd 100644
--- a/examples/declarative/modelviews/webview/content/FieldText.qml
+++ b/examples/declarative/modelviews/webview/content/FieldText.qml
@@ -161,8 +161,6 @@ Item {
color: "black"
readOnly: false
focus: true
- selectionStart: 0
- selectionEnd: -1
}
PropertyChanges {
target: editRegion