X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathHull.cpp;h=f65f7db3df1c01475c330b85c2b1b91971b641f8;hb=f8f5a7b28d4c6fb432055911b81d01505696e66b;hp=5e0402b21df45622effdf829dfc165f5129b1913;hpb=f54ef5c1739f18fe2cdd474a9d0e30a96e506797;p=features.git diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 5e0402b21d..f65f7db3df 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -511,9 +511,10 @@ void InsetMathHull::label(row_type row, docstring const & label) label_[row] = dummy_pointer; // We need an update of the Buffer reference cache. // This is achieved by updateLabels(). - lyx::updateLabels(buffer()); - } else + buffer().updateLabels(); + } else { label_[row]->updateCommand(label); + } return; } InsetCommandParams p(LABEL_CODE); @@ -532,7 +533,7 @@ void InsetMathHull::numbered(row_type row, bool num) label_[row] = 0; // We need an update of the Buffer reference cache. // This is achieved by updateLabels(). - lyx::updateLabels(buffer()); + buffer().updateLabels(); } }