]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.h
Do not allow a program listing to be in a font changing command.
[lyx.git] / src / insets / InsetListings.h
index 4a11607754dac21eaaff1495ea7bbc4b823d5b7a..8883b98343b3738d1a514a8acc3475c0b064f756 100644 (file)
@@ -41,6 +41,8 @@ private:
        ///
        bool isLabeled() const { return true; }
        ///
+       bool noFontChange() const { return true; }
+       ///
        InsetCode lyxCode() const { return LISTINGS_CODE; }
        /// lstinline is inlined, normal listing is displayed
        DisplayType display() const;