src/vs/workbench/contrib/preferences/browser/preferencesWidgets.ts/SettingsTargetsWidget/onWorkbenchStateChanged
class SettingsTargetsWidget:	private onWorkbenchStateChanged(): void {
		this.folderSettings.folder = null;
		this.update();
		if (this.settingsTarget === ConfigurationTarget.WORKSPACE && this.contextService.getWorkbenchState() === WorkbenchState.WORKSPACE) {
			this.updateTarget(ConfigurationTarget.USER_LOCAL);
		}
	}