mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Fix cursor blinking after unknown action.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20893 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b55f17ecb5
commit
18137a6ad6
@ -413,12 +413,6 @@ void LyXFunc::processKeySym(KeySymbol const & keysym, KeyModifier state)
|
||||
} else {
|
||||
dispatch(func);
|
||||
}
|
||||
|
||||
/* When we move around, or type, it's nice to be able to see
|
||||
* the cursor immediately after the keypress.
|
||||
*/
|
||||
if (lyx_view_ && lyx_view_->currentWorkArea())
|
||||
lyx_view_->currentWorkArea()->startBlinkingCursor();
|
||||
}
|
||||
|
||||
|
||||
|
@ -171,6 +171,11 @@ void WorkArea::processKeySym(KeySymbol const & key, KeyModifier mod)
|
||||
|
||||
theLyXFunc().setLyXView(lyx_view_);
|
||||
theLyXFunc().processKeySym(key, mod);
|
||||
|
||||
/* When we move around, or type, it's nice to be able to see
|
||||
* the cursor immediately after the keypress.
|
||||
*/
|
||||
startBlinkingCursor();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user