]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloat.cpp
Compute and output numbers for numerical citations.
[lyx.git] / src / insets / InsetFloat.cpp
index bd465fbc3eb8606d2e2fd38f8ef532ebcba8998d..5121d7263f66c42d5e8634d74a22fda8a694563e 100644 (file)
@@ -470,6 +470,12 @@ void InsetFloat::setNewLabel()
 }
 
 
+bool InsetFloat::allowsCaptionVariation(std::string const & newtype) const
+{
+       return !params_.subfloat && newtype != "LongTableNoNumber";
+}
+
+
 docstring InsetFloat::getCaption(OutputParams const & runparams) const
 {
        if (paragraphs().empty())