re-enable cut&paste in math

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5107 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-08-26 09:01:18 +00:00
parent d902fedf32
commit 80124c1f5b

View 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: