]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fracinset.C
Fix bug 2481
[lyx.git] / src / mathed / math_fracinset.C
index a84fff3f5a7fe9fbd691f916992ca46030b8f3bc..2ba15ab46282200371bb2206f7519db53eb01e91 100644 (file)
@@ -141,6 +141,12 @@ string MathFracInset::name() const
 }
 
 
+bool MathFracInset::extraBraces() const
+{
+       return kind_ == ATOP;
+}
+
+
 void MathFracInset::maple(MapleStream & os) const
 {
        os << '(' << cell(0) << ")/(" << cell(1) << ')';