mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
parent
4508a7f855
commit
3bc80220a7
@ -1479,8 +1479,7 @@ bool Cursor::macroModeClose()
|
||||
bool keep_mathmode = it != words.end() && (it->second.inset == "font"
|
||||
|| it->second.inset == "oldfont"
|
||||
|| it->second.inset == "mbox");
|
||||
bool ert_macro = !user_macro && it == words.end()
|
||||
&& !atom.nucleus()->asInsetMath();
|
||||
bool ert_macro = !user_macro && it == words.end() && atomAsMacro;
|
||||
|
||||
if (in && in->currentMode() == Inset::TEXT_MODE
|
||||
&& atom.nucleus()->currentMode() == Inset::MATH_MODE
|
||||
|
Loading…
Reference in New Issue
Block a user