diff options
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 170a376ba..1c6579eed 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5298,7 +5298,9 @@ void Editor::Tick() { if (timer.ticksToWait <= 0) { caret.on = !caret.on; timer.ticksToWait = caret.period; - InvalidateCaret(); + if (caret.active) { + InvalidateCaret(); + } } } if ((dwellDelay < SC_TIME_FOREVER) && |