mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Fix crash when breaking paragraph and Change tracking is involved.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16796 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7208919883
commit
02ec2834f1
@ -1233,8 +1233,12 @@ bool LyXText::deleteEmptyParagraphMechanism(LCursor & cur,
|
||||
return true;
|
||||
}
|
||||
|
||||
if (oldpar.stripLeadingSpaces(cur.buffer().params().trackChanges))
|
||||
if (oldpar.stripLeadingSpaces(cur.buffer().params().trackChanges)) {
|
||||
need_anchor_change = true;
|
||||
// We return true here because the Paragraph contents changed and
|
||||
// we need a redraw before further action is processed.
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user