mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
do not try to expand arguments in mathed (bug #8482)
This commit is contained in:
parent
66ac0bbd8a
commit
f164ffd093
@ -1572,6 +1572,9 @@ void MenuDefinition::expandArguments(BufferView const * bv, bool switcharg)
|
||||
if (!bv)
|
||||
return;
|
||||
|
||||
if (!bv->cursor().inTexted())
|
||||
return;
|
||||
|
||||
Inset const * inset = &bv->cursor().inset();
|
||||
Layout::LaTeXArgMap args = bv->cursor().paragraph().layout().args();
|
||||
if (inset && args.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user