Skip to content

Commit ab220b2

Browse files
authored
Open file command does not start in relative to the current file's path (fix microsoft#151668) (microsoft#151820)
1 parent 52d3006 commit ab220b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/platform/dialogs/electron-main/dialogMainService.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ export class DialogMainService implements IDialogMainService {
8282
const dialogOptions: OpenDialogOptions = {
8383
title: options.title,
8484
buttonLabel: options.buttonLabel,
85-
filters: options.filters
85+
filters: options.filters,
86+
defaultPath: options.defaultPath
8687
};
8788

8889
// Ensure properties

0 commit comments

Comments
 (0)