From 7eb96371e8d06e0c8efa96412f41fd295d7f7178 Mon Sep 17 00:00:00 2001 From: sanda Date: Fri, 26 Sep 2008 12:35:35 +0000 Subject: [PATCH] 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 --- src/LyXFunc.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.11.4.GIT