diff --git a/python/src/com/jetbrains/python/sdk/add/v2/ComboBoxWithBrowseButtonEditor.kt b/python/src/com/jetbrains/python/sdk/add/v2/ComboBoxWithBrowseButtonEditor.kt index 3931dcc832a9..66721e721be0 100644 --- a/python/src/com/jetbrains/python/sdk/add/v2/ComboBoxWithBrowseButtonEditor.kt +++ b/python/src/com/jetbrains/python/sdk/add/v2/ComboBoxWithBrowseButtonEditor.kt @@ -122,7 +122,7 @@ internal class ComboBoxWithBrowseButtonEditor( is FileSystem.Target -> { val targetType = fileSystem.targetEnvironmentConfiguration.getTargetType() if (targetType is BrowsableTargetEnvironmentType) { - val descriptor = FileChooserDescriptorFactory.singleDir().withTitle(browseTitle) + val descriptor = FileChooserDescriptorFactory.singleFile().withTitle(browseTitle) val hints = TargetBrowserHints(showLocalFsInBrowser = true, descriptor) val actionListener = targetType.createBrowser(