mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
InsetFloat.cpp: backport fix for bug #10618
This commit is contained in:
parent
0887f89350
commit
e40205e749
@ -127,7 +127,7 @@ void InsetFloat::setCaptionType(std::string const & type)
|
||||
params_.type = captionType();
|
||||
// check if the float type exists
|
||||
if (buffer().params().documentClass().floats().typeExist(params_.type))
|
||||
setLabel(_("float: ") + floatName(params_.type));
|
||||
setNewLabel();
|
||||
else
|
||||
setLabel(bformat(_("ERROR: Unknown float type: %1$s"), from_utf8(params_.type)));
|
||||
}
|
||||
|
@ -45,6 +45,8 @@ What's new
|
||||
|
||||
- Remove duplicate entries from the Symbols dialog (bug 10644).
|
||||
|
||||
- Always shows the float type in the float inset label (bug 10618).
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user