]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formula.C
fix pullArg when pressing <Delete> at the end of an cell
[lyx.git] / src / mathed / formula.C
index ffa4eaecb3b78a423dc44b4cbc79f11e0e7a0423..31af423668c2985d0b523bb75415fee006172d9f 100644 (file)
@@ -325,6 +325,11 @@ void InsetFormula::validate(LaTeXFeatures & features) const
        par()->Validate(features);
 }
 
+bool InsetFormula::insetAllowed(Inset::Code code) const
+{
+       return code == Inset::LABEL_CODE; 
+}
+
 
 int InsetFormula::ascent(BufferView *, LyXFont const &) const
 {