diff options
author | Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | 2016-04-15 09:42:43 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | 2016-04-26 10:13:02 +0000 |
commit | 44c28c76a1117b55e6cf9e776538b94e8453f76e (patch) | |
tree | d9b446accc68e86bf09177bac6e053e0eb6e7215 /src | |
parent | 0df91d58000170ed26fbcb28437d8ce18b70944b (diff) | |
download | qtquickcontrols-44c28c76a1117b55e6cf9e776538b94e8453f76e.tar.gz |
TextArea: disable selectByMouse on iOS
Until we have a better API in place for checking if
a platform should select text with mouse or not, just
disable it for now on iOS.
Change-Id: Iabe64554dd1d8bb1deb6f232ef59e07ef1398b3f
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/controls/TextArea.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml index 239b933c..89877314 100644 --- a/src/controls/TextArea.qml +++ b/src/controls/TextArea.qml @@ -780,7 +780,7 @@ ScrollView { wrapMode: TextEdit.WordWrap textMargin: __style && __style.textMargin !== undefined ? __style.textMargin : 4 - selectByMouse: area.selectByMouse && (!Settings.isMobile || !cursorHandle.delegate || !selectionHandle.delegate) + selectByMouse: area.selectByMouse && Qt.platform.os != "ios" && (!Settings.isMobile || !cursorHandle.delegate || !selectionHandle.delegate) readOnly: false Keys.forwardTo: area |