mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
Fix bug #6015: Macro with arguments is not finished when pressing space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30392 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5b888f0bc9
commit
fb57c00c0d
@ -1571,7 +1571,7 @@ bool InsetMathNest::interpretChar(Cursor & cur, char_type const c)
|
||||
|
||||
if (cur.pos() > 0) {
|
||||
MathMacro const * macro = cur.inset().asInsetMath()->asMacro();
|
||||
if (macro) {
|
||||
if (macro && macro->displayMode() == MathMacro::DISPLAY_UNFOLDED) {
|
||||
// resume macro_mode
|
||||
docstring const & s = macro->name();
|
||||
cur.leaveInset(*macro);
|
||||
|
Loading…
Reference in New Issue
Block a user