Fix cloned document disassociated issue after Npp being relaunched
Fix #10266, close #14003pull/13453/head^2
parent
7340696734
commit
f4297f1a83
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue