mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Backport fix for bug #7873.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40213 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4c39562025
commit
2e21676cb2
@ -446,8 +446,11 @@ void Text::setLabelWidthStringToSequence(pit_type const par_offset,
|
||||
depth_type const depth = pars_[offset].getDepth();
|
||||
Layout const & layout = pars_[offset].layout();
|
||||
for (pit_type pit = offset; pit != end; ++pit) {
|
||||
while (pars_[pit].getDepth() > depth)
|
||||
while (pars_[pit].getDepth() > depth) {
|
||||
++pit;
|
||||
if (pit == end)
|
||||
return;
|
||||
}
|
||||
if (pars_[pit].getDepth() < depth)
|
||||
return;
|
||||
if (pars_[pit].layout() != layout)
|
||||
|
@ -265,6 +265,8 @@ What's new
|
||||
|
||||
- Sort formats under Document>Settings>Output (bug 7758).
|
||||
|
||||
- Fix crash when changing labelwidth (bug 7873).
|
||||
|
||||
|
||||
* ADVANCED FIND AND REPLACE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user