From 5dd835d08a2ede2dc13084f86fe0a52181817f93 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 25 Jun 2012 21:17:19 +0200 Subject: [PATCH] IDEA-87812 The button "Clear the contents of the console" on the debug console is not available --- .../com/intellij/execution/ui/layout/impl/GridCellImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/execution/ui/layout/impl/GridCellImpl.java b/platform/lang-impl/src/com/intellij/execution/ui/layout/impl/GridCellImpl.java index ae9624772796..f8089fc12254 100644 --- a/platform/lang-impl/src/com/intellij/execution/ui/layout/impl/GridCellImpl.java +++ b/platform/lang-impl/src/com/intellij/execution/ui/layout/impl/GridCellImpl.java @@ -229,7 +229,11 @@ public class GridCellImpl implements GridCell { @Nullable private static TabInfo updatePresentation(TabInfo info, Content content) { if (info == null) return info; - return info.setIcon(content.getIcon()).setText(content.getDisplayName()).setActions(content.getActions(), content.getPlace()); + return info. + setIcon(content.getIcon()). + setText(content.getDisplayName()). + setActionsContextComponent(content.getActionsContextComponent()). + setActions(content.getActions(), content.getPlace()); } public ActionCallback select(final Content content, final boolean requestFocus) {