From 907c105f426cfa507e9de9b0c40bc15abccfedbb Mon Sep 17 00:00:00 2001 From: "Vitaliy.Bibaev" Date: Wed, 22 Mar 2017 20:41:20 +0300 Subject: [PATCH] Fix bug when grid content not received a selection changed event --- .../intellij/execution/ui/layout/impl/GridCellImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 3308ce2b1e15..2c8fcac31f7d 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,16 +447,16 @@ public class GridCellImpl implements GridCell { myContext.saveUiState(); for (final Content each : contents) { - myMinimizedContents.add(each); - remove(each); - boolean isShowing = myTabs.getComponent().getRootPane() != null; - updateSelection(isShowing); 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); } }