X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FText3.cpp;h=15ffb2881f6b4cee7b6449363ec49e53b101618a;hb=fd3a41e035a44a66a3adcb9fa0f970f32e9d260c;hp=fbcd9b7206a2dd4f0c51810fcabce05af22dc925;hpb=5c891242f3828453ce6843704334284a867b5262;p=lyx.git diff --git a/src/Text3.cpp b/src/Text3.cpp index fbcd9b7206..15ffb2881f 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -2718,7 +2718,7 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd, case LFUN_CAPTION_INSERT: { code = CAPTION_CODE; string arg = cmd.getArg(0); - bool varia = arg != "LongTableNoNumber" + bool varia = arg != "Unnumbered" && cur.inset().allowsCaptionVariation(arg); // not allowed in description items, // and in specific insets