mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
Clarify comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32051 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d3378a6b84
commit
935d1a3221
@ -380,7 +380,7 @@ void MathData::drawT(TextPainter & pain, int x, int y) const
|
||||
void MathData::updateMacros(Cursor * cur, MacroContext const & mc)
|
||||
{
|
||||
// If we are editing a macro, we cannot update it immediately,
|
||||
// as no undo steps will be recorded (bug 6208).
|
||||
// otherwise wrong undo steps will be recorded (bug 6208).
|
||||
InsetMath const * inmath = cur ? cur->inset().asInsetMath() : 0;
|
||||
MathMacro const * inmacro = inmath ? inmath->asMacro() : 0;
|
||||
docstring const edited_name = inmacro ? inmacro->name() : docstring();
|
||||
|
Loading…
Reference in New Issue
Block a user