diff --git a/src/mathed/math_matrixinset.C b/src/mathed/math_matrixinset.C index 1ee03e8de4..d2c4629f7b 100644 --- a/src/mathed/math_matrixinset.C +++ b/src/mathed/math_matrixinset.C @@ -514,7 +514,6 @@ void MathMatrixInset::mutate(short newtype) if (!nonum_[r]) allnonum = false; } - nonum_[0] = allnonum; // set first non-empty label string label; @@ -524,9 +523,11 @@ void MathMatrixInset::mutate(short newtype) break; } } - label_[0] = label; glueall(); + + nonum_[0] = allnonum; + label_[0] = label; mutate(newtype); break; }