]> git.lyx.org Git - features.git/blobdiff - src/mathed/formula.C
generate unnumbered eqnarray when mutating from inline math
[features.git] / src / mathed / formula.C
index 00c040a9db6e891e48c42dcceb275c763d22192b..dc8867387418674f022e6a4401c9df9e6f15330b 100644 (file)
@@ -268,10 +268,8 @@ InsetFormula::localDispatch(BufferView * bv, kb_action action,
                        int x;
                        int y;
                        mathcursor->GetPos(x, y);
-                       if (par()->GetType() == LM_OT_SIMPLE) {
+                       if (par()->GetType() == LM_OT_SIMPLE)
                                par()->mutate(LM_OT_EQUATION);
-                               par()->numbered(0, false);
-                       }
                        else
                                par()->mutate(LM_OT_SIMPLE);
                        mathcursor->SetPos(x, y);