mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-254134 [new run config UI] in Before Launch section it's impossible to add several tasks of the same type
tags disposing fixed GitOrigin-RevId: eb1ddb01dbd9008d01955d887d4ea1b467bf6934
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0d03ae9521
commit
10f8b605b9
@@ -52,6 +52,7 @@ public final class BeforeRunComponent extends JPanel implements DnDTarget, Dispo
|
||||
|
||||
public BeforeRunComponent(@NotNull Disposable parentDisposable) {
|
||||
super(new WrapLayout(FlowLayout.LEADING, 0, FragmentedSettingsBuilder.TAG_VGAP));
|
||||
Disposer.register(parentDisposable, this);
|
||||
add(Box.createVerticalStrut(30));
|
||||
|
||||
JPanel panel = new JPanel(new FlowLayout(FlowLayout.CENTER, 0, 0));
|
||||
@@ -67,7 +68,7 @@ public final class BeforeRunComponent extends JPanel implements DnDTarget, Dispo
|
||||
myAddPanel.add(myAddButton);
|
||||
myAddLabel = new LinkLabel<>(ExecutionBundle.message("run.configuration.before.run.add.task"), null, (aSource, aLinkData) -> showPopup());
|
||||
myAddLabel.setBorder(border);
|
||||
DnDManager.getInstance().registerTarget(this, this, parentDisposable);
|
||||
DnDManager.getInstance().registerTarget(this, this, this);
|
||||
}
|
||||
|
||||
private List<BeforeRunTaskProvider<BeforeRunTask<?>>> getProviders() {
|
||||
|
||||
Reference in New Issue
Block a user