mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
Fix cloned document position not remembered though sessions
Fix #14461, fix #14164, close #14565
This commit is contained in:
parent
6f5f246791
commit
eb0922c223
@ -2284,6 +2284,7 @@ bool Notepad_plus::loadSession(Session & session, bool isSnapshotMode, const wch
|
|||||||
if (clonedBuf != BUFFER_INVALID)
|
if (clonedBuf != BUFFER_INVALID)
|
||||||
{
|
{
|
||||||
loadBufferIntoView(clonedBuf, SUB_VIEW);
|
loadBufferIntoView(clonedBuf, SUB_VIEW);
|
||||||
|
lastOpened = clonedBuf;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user