diff --git a/PowerEditor/src/NppBigSwitch.cpp b/PowerEditor/src/NppBigSwitch.cpp index 82d971827..a7388bd43 100644 --- a/PowerEditor/src/NppBigSwitch.cpp +++ b/PowerEditor/src/NppBigSwitch.cpp @@ -1975,7 +1975,8 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa } Session currentSession; - getCurrentOpenedFiles(currentSession, true); + if (!((nppgui._multiInstSetting == monoInst) && !nppgui._rememberLastSession)) + getCurrentOpenedFiles(currentSession, true); if (nppgui._rememberLastSession) {