mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Reset change bar information when breaking row
This is a much less invasive version of da2696cc+da2696cc, which reduces the risk to a minimum. There may be other Row members that need resetting, we'll see that later. Fixes bug #11396.
This commit is contained in:
parent
7d8a8eec8c
commit
bbe7b84f3b
@ -836,6 +836,7 @@ bool TextMetrics::breakRow(Row & row, int const right_margin) const
|
||||
row.clear();
|
||||
row.left_margin = leftMargin(row.pit(), pos);
|
||||
row.right_margin = right_margin;
|
||||
row.needsChangeBar(false);
|
||||
if (is_rtl)
|
||||
swap(row.left_margin, row.right_margin);
|
||||
// Remember that the row width takes into account the left_margin
|
||||
|
@ -213,6 +213,10 @@ What's new
|
||||
- Get rid of spurious empty entry in list of equations when creating new
|
||||
formula (bug 11423).
|
||||
|
||||
- Handle some cases where the change bar in the margin did not get updated
|
||||
(bug 11396).
|
||||
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user