X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_fracinset.C;h=2ba15ab46282200371bb2206f7519db53eb01e91;hb=921f1144ccfaf0f118475e2c6b8da41768df00fc;hp=a84fff3f5a7fe9fbd691f916992ca46030b8f3bc;hpb=24319e60b9f2b295a5ebc7ebb2eeb06b1d1c3fd4;p=lyx.git diff --git a/src/mathed/math_fracinset.C b/src/mathed/math_fracinset.C index a84fff3f5a..2ba15ab462 100644 --- a/src/mathed/math_fracinset.C +++ b/src/mathed/math_fracinset.C @@ -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) << ')';