mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix a crash when the modified uncompleted macro is a font changing command.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31379 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1d7d54a4a7
commit
21fcdfb479
@ -634,7 +634,7 @@ bool MathMacro::notifyCursorLeaves(Cursor const & old, Cursor & cur)
|
||||
cur.recordUndoInset();
|
||||
cur.popForward();
|
||||
cur.backspace();
|
||||
cur.niceInsert(createInsetMath(unfolded_name));
|
||||
cur.insert(createInsetMath(unfolded_name));
|
||||
if (left)
|
||||
cur.backwardPos();
|
||||
cur.updateFlags(Update::Force);
|
||||
|
Loading…
Reference in New Issue
Block a user