IDEA-254134 [new run config UI] in Before Launch section it's impossible to add several tasks of the same type

tags removing fixed

GitOrigin-RevId: a40ee78f57aae3b6da3212c602a3df78c2b24bc6
This commit is contained in:
Dmitry Avdeev
2020-11-02 15:16:35 +00:00
committed by intellij-monorepo-bot
parent 49bdaf2f2a
commit 1676eb9602
@@ -172,7 +172,7 @@ public final class BeforeRunComponent extends JPanel implements DnDTarget, Dispo
@NotNull
private List<BeforeRunTask<?>> getEnabledTasks() {
return myTags.stream()
.filter(button -> button.myTask != null)
.filter(button -> button.myTask != null && button.isVisible())
.map(button -> button.myTask)
.collect(Collectors.toList());
}