From 3c41319f0bcdf586aee176a027fc136b2c6e94d3 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 5 Jan 2013 09:42:27 +0100 Subject: [PATCH] Disable caption-insert in mathed --- src/mathed/InsetMathNest.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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") -- 2.39.2