Revert "Fix cloned document disassociated issue after Npp being relaunched"

This reverts commit f4297f1a83 for fixing regression of not restoring coloned document position.

Fix #14164
pull/14455/head
Don Ho 2023-12-05 04:36:10 +01:00
parent e08c547167
commit 6f2e5d272c
1 changed files with 0 additions and 7 deletions

View File

@ -2270,13 +2270,6 @@ bool Notepad_plus::loadSession(Session & session, bool isSnapshotMode, const wch
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))
{