summaryrefslogtreecommitdiffstats
path: root/src/controls/Private/TextInputWithHandles.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Private/TextInputWithHandles.qml')
-rw-r--r--src/controls/Private/TextInputWithHandles.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/TextInputWithHandles.qml b/src/controls/Private/TextInputWithHandles.qml
index d19dda31d..75ca947f7 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) {