Skip to content

Commit 061a3f1

Browse files
committed
showOpenDialog should respect useSimplified setting
Fixes microsoft#71326
1 parent 3dae9c1 commit 061a3f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/services/dialogs/browser/fileDialogService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export class FileDialogService implements IFileDialogService {
210210

211211
showOpenDialog(options: IOpenDialogOptions): Promise<URI[] | undefined> {
212212
const schema = this.getFileSystemSchema(options);
213-
if (schema !== Schemas.file) {
213+
if (this.shouldUseSimplified(schema)) {
214214
if (!options.availableFileSystems) {
215215
options.availableFileSystems = [schema]; // by default only allow loading in the own file system
216216
}

0 commit comments

Comments
 (0)