mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
Clarify comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32052 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5ba1dbb453
commit
a70ece44ed
@ -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