Skip to content

Commit 646133c

Browse files
author
Benjamin Pasero
committed
comments
1 parent d679a17 commit 646133c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/code/electron-main/windows.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ export class WindowsManager implements IWindowsMainService {
373373
openFolderInNewWindow = (windowConfig.openFoldersInNewWindow === 'on');
374374
}
375375

376-
// Handle files to open/diff or to create when we dont open a folder
376+
// Handle files to open/diff or to create when we dont open a folder and we do not restore any folder/untitled from hot-exit
377377
if (!foldersToOpen.length && !foldersToRestore.length && !emptyToRestore.length && (filesToOpen.length > 0 || filesToCreate.length > 0 || filesToDiff.length > 0)) {
378378

379379
// let the user settings override how files are open in a new window or same window unless we are forced (not for extension development though)

0 commit comments

Comments
 (0)