From: Juergen Spitzmueller Date: Sat, 5 Jan 2013 08:42:27 +0000 (+0100) Subject: Disable caption-insert in mathed X-Git-Tag: 2.1.0beta1~965^2~1 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3c41319f0bcdf586aee176a027fc136b2c6e94d3;p=features.git Disable caption-insert in mathed --- diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index e3ed60a22c..86920e1aaf 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -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")