]> git.lyx.org Git - lyx.git/commitdiff
Do not allow a program listing to be in a font changing command.
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 21 Nov 2009 14:49:41 +0000 (14:49 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 21 Nov 2009 14:49:41 +0000 (14:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32124 a592a061-630c-0410-9148-cb99ea01b6c8

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;