correct in LFUN_MATH_NUMBER_TOGGLE the conversion of display state to enabled state

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34634 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2010-06-09 12:04:25 +00:00
parent df62af4323
commit 2052c1e7cc

View File

@ -1469,7 +1469,7 @@ bool InsetMathHull::getStatus(Cursor & cur, FuncRequest const & cmd,
case LFUN_MATH_NUMBER_TOGGLE:
// FIXME: what is the right test, this or the one of
// LABEL_INSERT?
status.setEnabled(display());
status.setEnabled(display() != Inline);
status.setOnOff(numberedType());
return true;