]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFootlike.cpp
Change tracking cue for InsetCaption
[lyx.git] / src / insets / InsetFootlike.cpp
index cb92320cdfa048ff5a04c6ed28f6dec3888d7e97..5685e865bfa8407ed6b6eec42966e3b9b0924127 100644 (file)
@@ -61,8 +61,7 @@ void InsetFootlike::write(ostream & os) const
 
 bool InsetFootlike::insetAllowed(InsetCode code) const
 {
-       if (code == FOOT_CODE || code == MARGIN_CODE || code == FLOAT_CODE
-               || code == LISTINGS_CODE)
+       if (code == FOOT_CODE || code == MARGIN_CODE || code == FLOAT_CODE)
                return false;
        return InsetCollapsable::insetAllowed(code);
 }