]> git.lyx.org Git - features.git/commitdiff
Disable caption-insert in mathed
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 5 Jan 2013 08:42:27 +0000 (09:42 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 5 Jan 2013 08:42:27 +0000 (09:42 +0100)
src/mathed/InsetMathNest.cpp

index e3ed60a22ccd46fb49b34522eac848cf935ad017..86920e1aafa947263e232dd2d7e0b0bc21feb8c3 100644 (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")