]> git.lyx.org Git - features.git/commitdiff
Let cursor appear after call of disabled lfun.
authorPavel Sanda <sanda@lyx.org>
Fri, 26 Sep 2008 12:35:35 +0000 (12:35 +0000)
committerPavel Sanda <sanda@lyx.org>
Fri, 26 Sep 2008 12:35:35 +0000 (12:35 +0000)
Patch by Vincent.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26575 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXFunc.cpp

index 34af99954ace5001a0caccc66a2481447e7d138e..5fb648e05142531e7dd13e86c372a02e6e3c7f01 100644 (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) {