Fix default limits value for (under|over)brace

Fixes bug #12107.
This commit is contained in:
Jean-Marc Lasgouttes 2021-02-05 14:36:21 +01:00
parent 5ed01cd616
commit 720f439868

View File

@ -66,9 +66,9 @@ MathClass InsetMathDecoration::mathClass() const
}
Limits InsetMathDecoration::defaultLimits(bool display) const
Limits InsetMathDecoration::defaultLimits(bool /*display*/) const
{
if (allowsLimitsChange() && display)
if (allowsLimitsChange())
return LIMITS;
else
return NO_LIMITS;