mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
* src/text.C (bool LyXText::backspace):
don't try to go to previous par when in first par (fix crash in change tracking mode). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13492 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
299a19c3c0
commit
e46d6cfc53
@ -1681,7 +1681,7 @@ bool LyXText::backspace(LCursor & cur)
|
||||
// the the backspace will collapse two paragraphs into
|
||||
// one.
|
||||
|
||||
if (cur.buffer().params().tracking_changes) {
|
||||
if (cur.pit() != 0 && cur.buffer().params().tracking_changes) {
|
||||
// Previous paragraph, mark "carriage return" as
|
||||
// deleted:
|
||||
Paragraph & par = pars_[cur.pit() - 1];
|
||||
|
Loading…
Reference in New Issue
Block a user