From: Jean-Marc Lasgouttes Date: Tue, 18 May 2010 13:59:59 +0000 (+0000) Subject: fix bugs #6696 and #6697 X-Git-Tag: 2.0.0~3248 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=edc0ec3fab1874dab51e779036872dc85a44d463;p=features.git fix bugs #6696 and #6697 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34434 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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_;