]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/CommandInset.cpp
Account for old versions of Pygments
[lyx.git] / src / mathed / CommandInset.cpp
index 6b9466481cd44c8a948130ee409208c164ccb1fb..344c570323a32aef7156509539c2574617d242b0 100644 (file)
@@ -40,11 +40,9 @@ void CommandInset::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        if (!set_label_) {
                set_label_ = true;
-               button_.update(screenLabel(), true);
+               button_.update(screenLabel(), true, false);
        }
        button_.metrics(mi, dim);
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }