mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Fix bug #7394 (Crash while selecting texts)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38385 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
23258f5399
commit
075804d685
@ -2190,6 +2190,8 @@ void BufferView::setCursorFromRow(int row)
|
||||
buffer_.text().setCursor(d->cursor_, 0, 0);
|
||||
else
|
||||
buffer_.text().setCursor(d->cursor_, buffer_.getParFromID(tmpid).pit(), tmppos);
|
||||
d->cursor_.setSelection(false);
|
||||
d->cursor_.resetAnchor();
|
||||
recenter();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user