diff --git a/src/mathed/MathMacroTemplate.cpp b/src/mathed/MathMacroTemplate.cpp index d946fcd265..ff296e80b5 100644 --- a/src/mathed/MathMacroTemplate.cpp +++ b/src/mathed/MathMacroTemplate.cpp @@ -465,7 +465,7 @@ void MathMacroTemplate::updateToContext(MacroContext const & mc) const } -void MathMacroTemplate::updateLook(bool editing) const +void MathMacroTemplate::updateLook() const { lookOutdated_ = true; } @@ -609,7 +609,7 @@ void MathMacroTemplate::draw(PainterInfo & pi, int x, int y) const void MathMacroTemplate::edit(Cursor & cur, bool front, EntryDirection entry_from) { - updateLook(true); + updateLook(); cur.updateFlags(Update::SinglePar); InsetMathNest::edit(cur, front, entry_from); } diff --git a/src/mathed/MathMacroTemplate.h b/src/mathed/MathMacroTemplate.h index ec87fe6042..80a0f9acba 100644 --- a/src/mathed/MathMacroTemplate.h +++ b/src/mathed/MathMacroTemplate.h @@ -132,7 +132,7 @@ private: /// idx_type displayIdx() const { return optionals_ + 2; } /// - void updateLook(bool editing = false) const; + void updateLook() const; /// look through the macro for #n arguments int maxArgumentInDefinition() const; /// add missing #n arguments up to \c maxArg