mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
first copy, then delete
first copy, then delete first copy, then delete not the other way round... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5524 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b31b38bb2b
commit
97200564d9
@ -248,10 +248,8 @@ void replaceNested(
|
||||
continue;
|
||||
|
||||
// replace the original stuff by the new inset
|
||||
ar.erase(it + 1, jt + 1);
|
||||
|
||||
// create a proper inset as replacement
|
||||
ar[i] = replaceArg(MathArray(it + 1, jt));
|
||||
ar.erase(it + 1, jt + 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user