]> git.lyx.org Git - features.git/blobdiff - src/insets/insetfootlike.C
fix insertion of raw double quote, reading of Info inset, initial width of collapsed...
[features.git] / src / insets / insetfootlike.C
index 75dd3ad5816a80593c1d1ecda4f33a5515bd2541..e58ae00e72f8661edf52e04988e3171e4e48af43 100644 (file)
@@ -42,7 +42,8 @@ void InsetFootlike::write(Buffer const * buf, std::ostream & os) const
 
 bool InsetFootlike::insetAllowed(Inset::Code code) const
 {
-       if ((code == Inset::FOOT_CODE) || (code == Inset::MARGIN_CODE))
+       if ((code == Inset::FOOT_CODE) || (code == Inset::MARGIN_CODE)
+           || (code ==Inset::FLOAT_CODE))
                return false;
        return InsetCollapsable::insetAllowed(code);
 }