Let cursor appear after call of disabled lfun.

Patch by Vincent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26575 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-09-26 12:35:35 +00:00
parent 5731e7faae
commit c7bfae826c

View File

@ -748,6 +748,8 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
<< lyxaction.getActionName(action)
<< " [" << action << "] is disabled at this location");
setErrorMessage(flag.message());
if (lyx_view_)
lyx_view_->restartCursor();
} else {
switch (action) {