do not drag out minimized views
authorDennis Ushakov <dennis.ushakov@gmail.com>
Tue, 31 Jan 2012 11:17:36 +0000 (15:17 +0400)
committerDennis Ushakov <dennis.ushakov@gmail.com>
Tue, 31 Jan 2012 13:56:01 +0000 (17:56 +0400)
platform/lang-impl/src/com/intellij/execution/ui/layout/impl/RunnerContentUi.java

index 30f7721b9e4343396b94f78513977593dde63888..a9e9c25d5d2102ad7b95b142214ac20916c7cc0a 100644 (file)
@@ -450,7 +450,7 @@ public class RunnerContentUi implements ContentUI, Disposable, CellTransform.Fac
 
       for (Content content : contents) {
         final View view = getStateFor(content);
-        //if (view.isMinimizedInGrid()) continue;
+        if (view.isMinimizedInGrid()) continue;
         prev.myManager.removeContent(content, false);
         myManager.removeContent(content, false);
         if (hadGrid && contents.size() == 1 && !wasRestoring) {