Skip to content

Commit

Permalink
Revert "Fix cloned document disassociated issue after Npp being relau…
Browse files Browse the repository at this point in the history
…nched"

This reverts commit f4297f1 for fixing regression of not restoring coloned document position.

Fix notepad-plus-plus#14164
  • Loading branch information
donho committed Dec 5, 2023
1 parent e08c547 commit 6f2e5d2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions PowerEditor/src/NppIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 6f2e5d2

Please sign in to comment.