]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.cpp
Change inset label from ": filename" to "Program Listing: filename" for listings...
[lyx.git] / src / insets / InsetInclude.cpp
index fee3bc22913863f8397c3a0b94ab32eda6b48aa1..c0f10af568b3508656ae8a40404674ace52596c5 100644 (file)
@@ -934,7 +934,7 @@ void InsetInclude::updateLabels(ParIterator const & it)
 
        InsetListingsParams const par(to_utf8(params()["lstparams"]));
        if (par.getParamValue("caption").empty()) {
-               listings_label_.clear();
+               listings_label_ = buffer().B_("Program Listing");
                return;
        }
        Buffer const & master = *buffer().masterBuffer();