diff options
Diffstat (limited to 'examples/declarative/text/textselection/textselection.qml')
-rw-r--r-- | examples/declarative/text/textselection/textselection.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/text/textselection/textselection.qml b/examples/declarative/text/textselection/textselection.qml index 6db7a85..d02a317 100644 --- a/examples/declarative/text/textselection/textselection.qml +++ b/examples/declarative/text/textselection/textselection.qml @@ -265,7 +265,7 @@ Rectangle { anchors.fill: parent onClicked: { edit.cursorPosition = edit.selectionEnd; - edit.select(edit.cursorPosition, edit.cursorPosition); + edit.deselect(); editor.state = "" } } |