diff --git a/PowerEditor/src/NppIO.cpp b/PowerEditor/src/NppIO.cpp index 488546c64..47bf93f3f 100644 --- a/PowerEditor/src/NppIO.cpp +++ b/PowerEditor/src/NppIO.cpp @@ -2246,6 +2246,13 @@ bool Notepad_plus::loadSession(Session & session, bool isSnapshotMode, bool shou continue; //skip session files, not supporting recursive sessions or embedded workspace files } + BufferID clonedBuf = _mainDocTab.findBufferByName(pFn); + if (clonedBuf != BUFFER_INVALID) + { + loadBufferIntoView(clonedBuf, SUB_VIEW); + ++k; + continue; + } bool isWow64Off = false; if (!PathFileExists(pFn)) {