mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
[project] pruning FileChooserDescriptor overrides (IJPL-150176 prerequisite)
`BrowseFolderRunnable` and `*WithBrowseButton` family: getting rid of separate "title" and "description" parameters in favor of the chooser descriptor object, to avoid cloning the latter down the road. GitOrigin-RevId: 33ec5968a1db953c60848974135055c288accf85
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5656c23f5c
commit
a5666abead
@@ -49,8 +49,8 @@ public class PyPluginCommonOptionsForm implements AbstractPyCommonOptionsForm {
|
||||
content.moduleComboBox.setModules(validModules);
|
||||
content.moduleComboBox.setSelectedModule(selection);
|
||||
|
||||
content.workingDirectoryTextField.addBrowseFolderListener(PyBundle.message("configurable.select.working.directory"), "", data.getProject(),
|
||||
FileChooserDescriptorFactory.createSingleFolderDescriptor());
|
||||
content.workingDirectoryTextField.addBrowseFolderListener(data.getProject(), FileChooserDescriptorFactory.createSingleFolderDescriptor()
|
||||
.withTitle(PyBundle.message("configurable.select.working.directory")));
|
||||
|
||||
ActionListener listener = new ActionListener() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user