disable math-extern when outside of maths

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4969 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-08-14 13:22:05 +00:00
parent 82c3424a4a
commit 3ce78466b5
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lyxfunc.C (getStatus): disable math-extern outside of math mode
2002-08-13 André Pönitz <poenitz@gmx.net>

View File

@ -469,6 +469,7 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & ev) const
case LFUN_MATH_LIMITS:
case LFUN_MATH_NONUMBER:
case LFUN_MATH_NUMBER:
case LFUN_MATH_EXTERN:
disable = !mathcursor;
break;