From 9af41759c7c00bcf8d025d76aff6cd89ca4e4bbe Mon Sep 17 00:00:00 2001 From: "Vitaliy.Bibaev" Date: Tue, 28 Mar 2017 19:14:19 +0300 Subject: [PATCH] IDEA-170504 Revert an old fix partly --- .../com/intellij/execution/ui/layout/impl/GridCellImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 2c8fcac31f7d..ce05b3cca092 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 @@ -447,15 +447,15 @@ public class GridCellImpl implements GridCell { myContext.saveUiState(); for (final Content each : contents) { + myMinimizedContents.add(each); + remove(each); + boolean isShowing = myTabs.getComponent().getRootPane() != null; myContainer.minimize(each, new CellTransform.Restore() { @Override public ActionCallback restoreInGrid() { return restore(each); } }); - myMinimizedContents.add(each); - remove(each); - boolean isShowing = myTabs.getComponent().getRootPane() != null; updateSelection(isShowing); } }