]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_undersetinset.C
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_undersetinset.C
index 3a95effd534f05b636f5048a03675fd71974d602..5ba13ad186baab4e8bdfe5d765035bff844f2972 100644 (file)
@@ -22,7 +22,7 @@ using std::auto_ptr;
 
 
 
-auto_ptr<InsetBase> MathUndersetInset::clone() const
+auto_ptr<InsetBase> MathUndersetInset::doClone() const
 {
        return auto_ptr<InsetBase>(new MathUndersetInset(*this));
 }
@@ -94,5 +94,5 @@ void MathUndersetInset::normalize(NormalStream & os) const
 void MathUndersetInset::validate(LaTeXFeatures & features) const
 {
        features.require("amsmath");
+       MathNestInset::validate(features);
 }
-