Disable caption-insert in mathed

This commit is contained in:
Juergen Spitzmueller 2013-01-05 09:42:27 +01:00
parent f164ffd093
commit 3c41319f0b

View File

@ -1441,6 +1441,10 @@ bool InsetMathNest::getStatus(Cursor & cur, FuncRequest const & cmd,
flag.setEnabled(false);
break;
case LFUN_CAPTION_INSERT:
flag.setEnabled(false);
break;
case LFUN_SPACE_INSERT: {
docstring const & name = cmd.argument();
if (name == "visible")