diff options
Diffstat (limited to 'src/components/ShadowInputControl.qml')
-rw-r--r-- | src/components/ShadowInputControl.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/ShadowInputControl.qml b/src/components/ShadowInputControl.qml index aa9b8e31..064748d4 100644 --- a/src/components/ShadowInputControl.qml +++ b/src/components/ShadowInputControl.qml @@ -68,7 +68,8 @@ Item { onCursorPositionChanged: { cursorSyncTimer.restart() blinkStatus = true - cursorTimer.restart() + if (cursorTimer.running) + cursorTimer.restart() } onSelectionStartChanged: cursorSyncTimer.restart() onSelectionEndChanged: cursorSyncTimer.restart() @@ -97,7 +98,7 @@ Item { id: cursorTimer interval: Qt.styleHints.cursorFlashTime / 2 repeat: true - running: true + running: control.visible onTriggered: shadowInput.blinkStatus = !shadowInput.blinkStatus } } |