diff --git a/platform/lang-impl/src/com/intellij/execution/services/ServiceViewDragHelper.java b/platform/lang-impl/src/com/intellij/execution/services/ServiceViewDragHelper.java index 636e5994bc20..498fddfc92a8 100644 --- a/platform/lang-impl/src/com/intellij/execution/services/ServiceViewDragHelper.java +++ b/platform/lang-impl/src/com/intellij/execution/services/ServiceViewDragHelper.java @@ -110,13 +110,13 @@ class ServiceViewDragHelper { } @Nullable - private static ServiceViewContributor getTheOnlyContributor(List nodes) { + static ServiceViewContributor getTheOnlyContributor(List nodes) { ServiceViewContributor result = null; for (ServiceViewItem node : nodes) { if (result == null) { - result = node.getContributor(); + result = node.getRootContributor(); } - else if (result != node.getContributor()) { + else if (result != node.getRootContributor()) { return null; } }