From 2052c1e7ccbe4407e6ccdb2948ec32bbc754116a Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Wed, 9 Jun 2010 12:04:25 +0000 Subject: [PATCH] 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 --- src/mathed/InsetMathHull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2