IDEA-242728 [new run config ui] Code Coverage section - impossible to remove it even with empty fields

GitOrigin-RevId: 02041ae6593abcc0381d3cf9b0cfff0fd4297454
This commit is contained in:
Dmitry Avdeev
2020-06-08 21:32:54 +03:00
committed by intellij-monorepo-bot
parent 053647bb22
commit 2647ec2735
@@ -5,7 +5,6 @@ import com.intellij.openapi.options.ConfigurationException;
import com.intellij.openapi.options.SettingsEditorListener;
import com.intellij.openapi.util.Disposer;
import com.intellij.openapi.util.NotNullLazyValue;
import com.intellij.util.containers.ContainerUtil;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
@@ -51,7 +50,7 @@ public abstract class NestedGroupFragment<S extends FragmentedSettings> extends
}
private void updateVisibility() {
myGroupComponent.setVisible(isSelected() || ContainerUtil.exists(getChildren(), fragment -> fragment.isSelected()));
myGroupComponent.setVisible(isSelected());
}
@Override