From: Stephan Witt Date: Wed, 9 Jun 2010 12:04:25 +0000 (+0000) Subject: correct in LFUN_MATH_NUMBER_TOGGLE the conversion of display state to enabled state X-Git-Tag: 2.0.0~3152 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2052c1e7ccbe4407e6ccdb2948ec32bbc754116a;p=features.git 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 --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index ff4eecd2da..dd2b7fea91 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -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;