diff --git a/platform/lang-impl/src/com/intellij/execution/dashboard/RunDashboardContent.java b/platform/lang-impl/src/com/intellij/execution/dashboard/RunDashboardContent.java index 9b44e58a8bd4..402ced983406 100644 --- a/platform/lang-impl/src/com/intellij/execution/dashboard/RunDashboardContent.java +++ b/platform/lang-impl/src/com/intellij/execution/dashboard/RunDashboardContent.java @@ -275,6 +275,11 @@ public class RunDashboardContent extends JPanel implements TreeContent, Disposab } private void onSelectionChanged() { + AbstractTreeUi treeUi = myBuilder.getUi(); + if (treeUi == null || treeUi.hasPendingWork()) { + // Do not change update details part and its content manger until all pending tree update requests are not finished. + return; + } Set nodes = myBuilder.getSelectedElements(AbstractTreeNode.class); if (nodes.size() != 1) { showMessagePanel(ExecutionBundle.message("run.dashboard.empty.selection.message"));