Fix cloned document position not remembered though sessions

Fix #14461, fix #14164, close #14565
This commit is contained in:
Don Ho 2024-01-08 15:53:34 +01:00
parent 6f5f246791
commit eb0922c223

View File

@ -2284,6 +2284,7 @@ bool Notepad_plus::loadSession(Session & session, bool isSnapshotMode, const wch
if (clonedBuf != BUFFER_INVALID)
{
loadBufferIntoView(clonedBuf, SUB_VIEW);
lastOpened = clonedBuf;
}
else
{