aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/CursorDelegate.qml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-07-04 13:35:55 +0200
committerLiang Qi <liang.qi@qt.io>2019-07-04 13:36:52 +0200
commitfa0a2860e9ca7bb035fec21ceb0dfe919c7d0dca (patch)
treed2a90e480d497edc3bbac367bf974ec93076e409 /src/imports/controls/material/CursorDelegate.qml
parent13bdd61c6597586f62558ca337c193ce03db26cc (diff)
parent5211cf2843af606b912e9130d44ee6c82eeb40b0 (diff)
Merge "Merge remote-tracking branch 'origin/5.12' into 5.13"
Diffstat (limited to 'src/imports/controls/material/CursorDelegate.qml')
-rw-r--r--src/imports/controls/material/CursorDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/material/CursorDelegate.qml b/src/imports/controls/material/CursorDelegate.qml
index f472e8ae..1626a6fb 100644
--- a/src/imports/controls/material/CursorDelegate.qml
+++ b/src/imports/controls/material/CursorDelegate.qml
@@ -55,7 +55,7 @@ Rectangle {
Timer {
id: timer
- running: cursor.parent.activeFocus && !cursor.parent.readOnly
+ running: cursor.parent.activeFocus && !cursor.parent.readOnly && interval != 0
repeat: true
interval: Qt.styleHints.cursorFlashTime / 2
onTriggered: cursor.opacity = !cursor.opacity ? 1 : 0