mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +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);
|
||||
|
||||
if (layout.margintype == MARGIN_MANUAL) {
|
||||
if (par.params().labelWidthString().empty())
|
||||
par.params().labelWidthString(par.expandLabel(layout, bp));
|
||||
// nothing to do: empty label width string is fine.
|
||||
} else if (layout.latextype == LATEX_BIB_ENVIRONMENT) {
|
||||
// we do not need to do anything here, since the empty case is
|
||||
// handled during export.
|
||||
|
Loading…
Reference in New Issue
Block a user