mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
When a row is shortened, reset its flushed() attribute.
Fixes bug #10699.
This commit is contained in:
parent
5c54557350
commit
59e2c40564
@ -966,7 +966,8 @@ bool TextMetrics::breakRow(Row & row, int const right_margin) const
|
|||||||
int const next_width = max_width_ - leftMargin(row.pit(), row.endpos())
|
int const next_width = max_width_ - leftMargin(row.pit(), row.endpos())
|
||||||
- rightMargin(row.pit());
|
- rightMargin(row.pit());
|
||||||
|
|
||||||
row.shortenIfNeeded(body_pos, width, next_width);
|
if (row.shortenIfNeeded(body_pos, width, next_width))
|
||||||
|
row.flushed(false);
|
||||||
row.right_boundary(!row.empty() && row.endpos() < end
|
row.right_boundary(!row.empty() && row.endpos() < end
|
||||||
&& row.back().endpos == row.endpos());
|
&& row.back().endpos == row.endpos());
|
||||||
// Last row in paragraph is flushed
|
// Last row in paragraph is flushed
|
||||||
|
Loading…
Reference in New Issue
Block a user