X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathLefteqn.cpp;h=358ecd3f0c2030cb5cafe8321625ea6b443639c9;hb=58ab972f714309aa87e7d956ceda00e18337875f;hp=dc64e6f7df86da294933c4a868baa85e3a4432f5;hpb=237c132c1e6fc720b87f2fea6deb18a8395cbe0a;p=lyx.git diff --git a/src/mathed/InsetMathLefteqn.cpp b/src/mathed/InsetMathLefteqn.cpp index dc64e6f7df..358ecd3f0c 100644 --- a/src/mathed/InsetMathLefteqn.cpp +++ b/src/mathed/InsetMathLefteqn.cpp @@ -35,7 +35,8 @@ void InsetMathLefteqn::metrics(MetricsInfo & mi, Dimension & dim) const dim.des += 2; dim.wid = 4; metricsMarkers(dim); - dim_ = dim; + // Cache the inset dimension. + setDimCache(mi, dim); }