mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-04-08 17:15:37 +02:00
Fix cloned document disassociated issue after Npp being relaunched
Fix #10266, close #14003
This commit is contained in:
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…
x
Reference in New Issue
Block a user