]> git.lyx.org Git - features.git/commitdiff
re-enable cut&paste in math
authorAndré Pönitz <poenitz@gmx.net>
Mon, 26 Aug 2002 09:01:18 +0000 (09:01 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Mon, 26 Aug 2002 09:01:18 +0000 (09:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5107 a592a061-630c-0410-9148-cb99ea01b6c8

src/lyxfunc.C

index 94db59641bd2e94d1515c41056a9f31be494d936..6a22b5531e29df4328798807a9eb31e00b447d83 100644 (file)
@@ -334,7 +334,7 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & ev) const
                break;
        case LFUN_CUT:
        case LFUN_COPY:
-               disable = !view()->getLyXText()->selection.set();
+               disable = !mathcursor && !view()->getLyXText()->selection.set();
                break;
 #ifndef HAVE_LIBAIKSAURUS
        case LFUN_THESAURUS_ENTRY: