]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloat.h
#7379 avoid the wrap spell check question when buffer is empty
[lyx.git] / src / insets / InsetFloat.h
index 9bfc120bb54d8f5bef3f6fcaa3f6f51ac9e007f4..3c9a717473cf87bb4d646aaa29ecda04478f37e2 100644 (file)
@@ -90,10 +90,10 @@ private:
        docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
        bool insetAllowed(InsetCode) const;
-       /** returns true if, when outputing LaTeX, font changes should
+       /** returns false if, when outputing LaTeX, font changes should
            be closed before generating this inset. This is needed for
            insets that may contain several paragraphs */
-       bool noFontChange() const { return true; }
+       bool inheritFont() const { return false; }
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        // Update the counters of this inset and of its contents