X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetTabular.cpp;h=806d8256f29f7c96a2e7d481f9983ce936e1e514;hb=2203d7aa0a8e9d64666498fb26eb17f699c2f52b;hp=5712fb46544be606f5502e8ad47190e6fbe4ddba;hpb=0e14f379f367e4d3f5f8263185e0903424a746e7;p=lyx.git diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 5712fb4654..806d8256f2 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -3245,10 +3245,11 @@ void InsetTabular::setBuffer(Buffer & buf) bool InsetTabular::insetAllowed(InsetCode code) const { - switch (code) - { + switch (code) { + case FLOAT_CODE: case MARGIN_CODE: case MATHMACRO_CODE: + case WRAP_CODE: return false; case CAPTION_CODE: