mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-85528 WSL: Fix file browser descriptor
(cherry picked from commit 4f4a3bd69955830d9b0fa41972d26f996bd23df0) IJ-MR-182134 GitOrigin-RevId: 02bc3e1e0ee478436f0b90e66d9e245a421aefc7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
aa302277bc
commit
8ea8e543d1
@@ -122,7 +122,7 @@ internal class ComboBoxWithBrowseButtonEditor<T, P : PathHolder>(
|
||||
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(
|
||||
|
||||
Reference in New Issue
Block a user