From 902c377ee3801cff14fa1d0a67220994802bd0fd Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sat, 21 Nov 2009 14:49:41 +0000 Subject: [PATCH] Do not allow a program listing to be in a font changing command. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32124 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetListings.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/insets/InsetListings.h b/src/insets/InsetListings.h index 4a11607754..8883b98343 100644 --- a/src/insets/InsetListings.h +++ b/src/insets/InsetListings.h @@ -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;