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:
Abdelrazak Younes 2007-10-11 07:03:17 +00:00
parent b55f17ecb5
commit 18137a6ad6
2 changed files with 5 additions and 6 deletions

View File

@ -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();
}

View File

@ -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();
}