mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 15:01:58 +00:00
Change inset label from ": filename" to "Program Listing: filename" for listings without caption.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25057 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
772d040c16
commit
ee9511f52c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user