Browse Source

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 12 months ago
parent
commit
6f2e5d272c
  1. 7
      PowerEditor/src/NppIO.cpp

7
PowerEditor/src/NppIO.cpp

@ -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…
Cancel
Save