diff options
author | Jani Heikkinen <jani.heikkinen@theqtcompany.com> | 2014-11-11 17:38:39 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-11-11 17:38:39 +0100 |
commit | 0bcb10542727e6f84459ba2779139a71effd965d (patch) | |
tree | 37320542f855e3e976cc7722a2ce24212a39a7b0 /src/controls/Private/TextInputWithHandles.qml | |
parent | 313ae1c3b581a3e3a44f86793e158ba9e8eae9ab (diff) | |
parent | d162d3b03cf5fb5c359c87ac841dd74a9909a548 (diff) | |
download | qtquickcontrols-0bcb10542727e6f84459ba2779139a71effd965d.tar.gz |
Merge "Merge remote-tracking branch 'origin/5.4' into 5.4.0" into refs/staging/5.4.0
Diffstat (limited to 'src/controls/Private/TextInputWithHandles.qml')
-rw-r--r-- | src/controls/Private/TextInputWithHandles.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/TextInputWithHandles.qml b/src/controls/Private/TextInputWithHandles.qml index d19dda31..75ca947f 100644 --- a/src/controls/Private/TextInputWithHandles.qml +++ b/src/controls/Private/TextInputWithHandles.qml @@ -170,7 +170,7 @@ TextInput { x: mappedPos.x y: mappedPos.y - visible: pressed || (input.hasSelection && handleX + handleWidth >= -1 && handleX <= control.width + 1) + visible: pressed || ((input.cursorVisible || input.hasSelection) && handleX + handleWidth >= -1 && handleX <= control.width + 1) onPositionChanged: { if (!input.blockRecursion) { |