]> git.lyx.org Git - lyx.git/commitdiff
fix bugs #6696 and #6697
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 18 May 2010 13:59:59 +0000 (13:59 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 18 May 2010 13:59:59 +0000 (13:59 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34434 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetListings.h

index 8561de5cf731becdd1c5eafd136c72b2f28b8616..88d380a8b2c30e159d96d4674eb0029d9a8fef24 100644 (file)
@@ -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_;