X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetListings.h;h=902fa0437e64009770293859e2540322c3b53fd9;hb=239b9919ffe28338d789e6dc9122228f77ab77a7;hp=14dbda94d096f543cae1a391a0d659c4c9b61146;hpb=0aab06c4680c0cb800f0c5d4479f790e760d6433;p=lyx.git diff --git a/src/insets/InsetListings.h b/src/insets/InsetListings.h index 14dbda94d0..902fa0437e 100644 --- a/src/insets/InsetListings.h +++ b/src/insets/InsetListings.h @@ -78,7 +78,7 @@ private: /// TexString getCaption(OutputParams const &) const; /// - bool insetAllowed(InsetCode c) const { return c == CAPTION_CODE; } + bool insetAllowed(InsetCode c) const { return c == CAPTION_CODE || c == QUOTE_CODE; } /// InsetListingsParams params_;