]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
Avoid endless loop when the window is too narrow
[lyx.git] / src / Paragraph.cpp
index 0c5feb0cf23a93082cfc2cc066bb3c37fd05ec1d..734d18a81c6574388f6eeb2d71236a6b6880c865 100644 (file)
@@ -1426,7 +1426,7 @@ void Paragraph::Private::validate(LaTeXFeatures & features) const
                        icit->inset->validate(features);
                        if (layout_->needprotect &&
                            icit->inset->lyxCode() == FOOT_CODE)
-                               features.require("footmisc");
+                               features.require("NeedLyXFootnoteCode");
                }
        }