]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCaption.cpp
Rename Caption:LongTableNoNumber to Caption:Unnumbered
[features.git] / src / insets / InsetCaption.cpp
index 21b834aac50031e0d38ebe67203adf1a12db28c3..b69d1ba71a31526b31251e74a6b3f14d55303f2d 100644 (file)
@@ -224,7 +224,7 @@ bool InsetCaption::getStatus(Cursor & cur, FuncRequest const & cmd,
                if (first_arg == "changetype") {
                        string const type = cmd.getArg(1);
                        status.setOnOff(type == type_);
-                       bool varia = type != "LongTableNoNumber";
+                       bool varia = type != "Unnumbered";
                        // check if the immediate parent inset allows caption variation
                        if (cur.depth() > 1) {
                                varia = cur[cur.depth() - 2].inset().allowsCaptionVariation(type);