]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCaption.cpp
* Lazy MathData to avoid unneeded interpretation of macro definitions
[features.git] / src / insets / InsetCaption.cpp
index f741289801e583f9a413af9aa51dfc119e7949b1..0c3be7102aab6459b00188504c15de7a9bf7a932 100644 (file)
@@ -184,6 +184,7 @@ bool InsetCaption::insetAllowed(InsetCode code) const
        case WRAP_CODE:
        case CAPTION_CODE:
        case NEWPAGE_CODE:
+       case MATHMACRO_CODE:
                return false;
        default:
                return InsetText::insetAllowed(code);