mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Disable space tyes that are not supported in mathed (for these, a thinspace was inserted as a fallback).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39537 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6a3ff009db
commit
70390b0283
@ -1418,6 +1418,13 @@ bool InsetMathNest::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
flag.setEnabled(false);
|
||||
break;
|
||||
|
||||
case LFUN_SPACE_INSERT: {
|
||||
docstring const & name = cmd.argument();
|
||||
if (name == "protected" || name == "normal" || name == "visible")
|
||||
flag.setEnabled(false);
|
||||
break;
|
||||
}
|
||||
|
||||
case LFUN_INSET_DISSOLVE:
|
||||
flag.setEnabled(!asHullInset());
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user