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
parent
e08c547167
commit
6f2e5d272c
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue