mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-25 14:54:39 +02:00
Fix user created session modified in multiInst mode
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12079#issuecomment-1763399514
This commit is contained in:
parent
8b50f876c9
commit
8e43b0adba
@ -2467,7 +2467,7 @@ bool Notepad_plus::fileLoadSession(const TCHAR *fn)
|
|||||||
const bool shouldLoadFileBrowser = true;
|
const bool shouldLoadFileBrowser = true;
|
||||||
isAllSuccessful = loadSession(session2Load, isSnapshotMode, shouldLoadFileBrowser);
|
isAllSuccessful = loadSession(session2Load, isSnapshotMode, shouldLoadFileBrowser);
|
||||||
result = true;
|
result = true;
|
||||||
if (isEmptyNpp && (nppGUI._multiInstSetting == multiInstOnSession || nppGUI._multiInstSetting == multiInst))
|
if (isEmptyNpp && nppGUI._multiInstSetting == multiInstOnSession)
|
||||||
nppParam.setLoadedSessionFilePath(sessionFileName);
|
nppParam.setLoadedSessionFilePath(sessionFileName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user