I have another patch in my local branch checkout... It fixes a warning and a potential bug.
Stephan
Index: src/mathed/InsetMathHull.cpp =================================================================== --- src/mathed/InsetMathHull.cpp (Revision 35627) +++ src/mathed/InsetMathHull.cpp (Arbeitskopie) @@ -1403,7 +1403,7 @@ 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;