From: Pavel Sanda Date: Fri, 26 Sep 2008 12:35:35 +0000 (+0000) Subject: Let cursor appear after call of disabled lfun. X-Git-Tag: 1.6.10~3311 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c7bfae826c362a598aac5b73cf6de1703cd14a5a;p=features.git 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 --- diff --git a/src/LyXFunc.cpp b/src/LyXFunc.cpp index 34af99954a..5fb648e051 100644 --- a/src/LyXFunc.cpp +++ b/src/LyXFunc.cpp @@ -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) {