Fix the focus not on the opening new file issue
Move focus to edit window when opening a new file. Fix #8426, close #8442
This commit is contained in:
parent
6f09695c2d
commit
f7efc2abc0
@ -1794,7 +1794,7 @@ void Notepad_plus::fileNew()
|
||||
BufferID newBufID = MainFileManager.newEmptyDocument();
|
||||
|
||||
loadBufferIntoView(newBufID, currentView(), true); //true, because we want multiple new files if possible
|
||||
activateBuffer(newBufID, currentView());
|
||||
switchToFile(newBufID);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user