mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +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();
|
params_.type = captionType();
|
||||||
// check if the float type exists
|
// check if the float type exists
|
||||||
if (buffer().params().documentClass().floats().typeExist(params_.type))
|
if (buffer().params().documentClass().floats().typeExist(params_.type))
|
||||||
setLabel(_("float: ") + floatName(params_.type));
|
setNewLabel();
|
||||||
else
|
else
|
||||||
setLabel(bformat(_("ERROR: Unknown float type: %1$s"), from_utf8(params_.type)));
|
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).
|
- Remove duplicate entries from the Symbols dialog (bug 10644).
|
||||||
|
|
||||||
|
- Always shows the float type in the float inset label (bug 10618).
|
||||||
|
|
||||||
|
|
||||||
* INTERNALS
|
* INTERNALS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user