From edc0ec3fab1874dab51e779036872dc85a44d463 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 18 May 2010 13:59:59 +0000 Subject: [PATCH] fix bugs #6696 and #6697 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34434 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 8561de5cf7..88d380a8b2 100644 --- a/src/insets/InsetListings.h +++ b/src/insets/InsetListings.h @@ -77,6 +77,8 @@ private: docstring const buttonLabel(BufferView const & bv) const; /// docstring getCaption(OutputParams const &) const; + /// + bool insetAllowed(InsetCode c) const { return c == CAPTION_CODE; } /// InsetListingsParams params_; -- 2.39.2