From eb0922c2233bff484f91e7f1cf26446e6a9bc2a5 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Mon, 8 Jan 2024 15:53:34 +0100 Subject: [PATCH] Fix cloned document position not remembered though sessions Fix #14461, fix #14164, close #14565 --- PowerEditor/src/NppIO.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/PowerEditor/src/NppIO.cpp b/PowerEditor/src/NppIO.cpp index 083032cff..fcde5bda2 100644 --- a/PowerEditor/src/NppIO.cpp +++ b/PowerEditor/src/NppIO.cpp @@ -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 {