mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
Reset cursor before beginning reload sequence.
(cherry picked from commit af381a2fb2
)
This commit is contained in:
parent
8631fa68a5
commit
6d11663090
@ -3057,6 +3057,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