File tree Expand file tree Collapse file tree
src/vs/workbench/services/dialogs/electron-sandbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,10 @@ export class FileDialogService extends AbstractFileDialogService implements IFil
5858 private shouldUseSimplified ( schema : string ) : { useSimplified : boolean , isSetting : boolean } {
5959 const setting = ( this . configurationService . getValue ( 'files.simpleDialog.enable' ) === true ) ;
6060 const newWindowSetting = ( this . configurationService . getValue ( 'window.openFilesInNewWindow' ) === 'on' ) ;
61- return { useSimplified : ( schema !== Schemas . file ) || setting , isSetting : newWindowSetting } ;
61+ return {
62+ useSimplified : ( ( schema !== Schemas . file ) && ( schema !== Schemas . userData ) ) || setting ,
63+ isSetting : newWindowSetting
64+ } ;
6265 }
6366
6467 async pickFileFolderAndOpen ( options : IPickAndOpenOptions ) : Promise < any > {
You can’t perform that action at this time.
0 commit comments