mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Reset cursor before beginning reload sequence.
(cherry picked from commit af381a2fb2
)
This commit is contained in:
parent
11386f4601
commit
da7f539358
@ -3173,6 +3173,7 @@ static bool ensureBufferClean(Buffer * buffer)
|
||||
|
||||
bool GuiView::reloadBuffer(Buffer & buf)
|
||||
{
|
||||
currentBufferView()->cursor().reset();
|
||||
Buffer::ReadStatus status = buf.reload();
|
||||
return status == Buffer::ReadSuccess;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user