mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Limit 761a542551
to the case where we have a label.
This commit is contained in:
parent
39a8000589
commit
55349823f0
@ -276,6 +276,7 @@ void RowPainter::paintDepthBar() const
|
||||
|
||||
// We also mark follow-up paragraphs in a paragraph group
|
||||
if (par_.layout().isParagraphGroup()
|
||||
&& par_.layout().labeltype != LABEL_NO_LABEL
|
||||
&& !text_.isFirstInSequence(row_.pit()))
|
||||
++depth;
|
||||
|
||||
@ -290,6 +291,7 @@ void RowPainter::paintDepthBar() const
|
||||
prev_depth = pars_[pit2].getDepth();
|
||||
// We also mark follow-up paragraphs in a paragraph group
|
||||
if (pars_[pit2].layout().isParagraphGroup()
|
||||
&& pars_[pit2].layout().labeltype != LABEL_NO_LABEL
|
||||
&& !text_.isFirstInSequence(pit2))
|
||||
++prev_depth;
|
||||
}
|
||||
@ -302,6 +304,7 @@ void RowPainter::paintDepthBar() const
|
||||
next_depth = pars_[pit2].getDepth();
|
||||
// We also mark follow-up paragraphs in a paragraph group
|
||||
if (pars_[pit2].layout().isParagraphGroup()
|
||||
&& pars_[pit2].layout().labeltype != LABEL_NO_LABEL
|
||||
&& !text_.isFirstInSequence(pit2))
|
||||
++next_depth;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user