Fixed open file command does not start in relative to the current file's path From upstream

This commit is contained in:
chriswang521 2023-04-07 09:53:40 +08:00
parent 218c287160
commit d9ed948fdb
1 changed files with 2 additions and 1 deletions

View File

@ -82,7 +82,8 @@ export class DialogMainService implements IDialogMainService {
const dialogOptions: OpenDialogOptions = {
title: options.title,
buttonLabel: options.buttonLabel,
filters: options.filters
filters: options.filters,
defaultPath: options.defaultPath
};
// Ensure properties