mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix bug #12934
This commit is contained in:
parent
42a8463aab
commit
6484dce51b
@ -5240,8 +5240,7 @@ void Buffer::Impl::setLabel(ParIterator & it, UpdateType utype) const
|
|||||||
par.itemdepth = getItemDepth(it);
|
par.itemdepth = getItemDepth(it);
|
||||||
|
|
||||||
if (layout.margintype == MARGIN_MANUAL) {
|
if (layout.margintype == MARGIN_MANUAL) {
|
||||||
if (par.params().labelWidthString().empty())
|
// nothing to do: empty label width string is fine.
|
||||||
par.params().labelWidthString(par.expandLabel(layout, bp));
|
|
||||||
} else if (layout.latextype == LATEX_BIB_ENVIRONMENT) {
|
} else if (layout.latextype == LATEX_BIB_ENVIRONMENT) {
|
||||||
// we do not need to do anything here, since the empty case is
|
// we do not need to do anything here, since the empty case is
|
||||||
// handled during export.
|
// handled during export.
|
||||||
|
Loading…
Reference in New Issue
Block a user