From 80124c1f5bdfd19986115d537c89cd855bd92896 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 26 Aug 2002 09:01:18 +0000 Subject: [PATCH] re-enable cut&paste in math git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5107 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/lyxfunc.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lyxfunc.C b/src/lyxfunc.C index 94db59641b..6a22b5531e 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -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: -- 2.39.5