mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 13:54:54 +02:00
parent
d6b5f53a0e
commit
02dd1d36fc
@ -317,7 +317,7 @@ void Notepad_plus_Window::init(HINSTANCE hInst, HWND parent, const TCHAR *cmdLin
|
||||
::SendMessage(_hSelf, NPPM_INTERNAL_ENABLECHANGEHISTORY, 0, 0);
|
||||
|
||||
|
||||
if (nppGUI._newDocDefaultSettings._addNewDocumentOnStartup)
|
||||
if (nppGUI._newDocDefaultSettings._addNewDocumentOnStartup && nppGUI._rememberLastSession)
|
||||
{
|
||||
::SendMessage(_hSelf, WM_COMMAND, IDM_FILE_NEW, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user