mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-29 00:34:24 +02:00
Revert "Fix cloned document disassociated issue after Npp being relaunched"
This reverts commit f4297f1a837c93e09962715c40ba932567d46aa2 for fixing regression of not restoring coloned document position. Fix #14164
This commit is contained in:
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…
x
Reference in New Issue
Block a user