X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetListings.h;h=88d380a8b2c30e159d96d4674eb0029d9a8fef24;hb=142caff8336c54627606c09d3ce5bb7de7a8adb6;hp=8561de5cf731becdd1c5eafd136c72b2f28b8616;hpb=d65020b293ab208b1391f96a731e53e0c7274a02;p=lyx.git 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_;