exception
authorAlexey Kudravtsev <cdr@intellij.com>
Thu, 5 Aug 2010 10:04:08 +0000 (14:04 +0400)
committerAlexey Kudravtsev <cdr@intellij.com>
Thu, 5 Aug 2010 10:04:08 +0000 (14:04 +0400)
java/java-impl/src/com/intellij/slicer/SlicePanel.java

index fea2f4fbcb2525ffbb34310d67be284f1c2b9c04..ebbcc76b799fd64919527cb5cd99f6cef8491f60 100644 (file)
@@ -90,7 +90,7 @@ public abstract class SlicePanel extends JPanel implements TypeSafeDataProvider,
       }
 
       public void stateChanged() {
-        if (project.isDisposed()) return;
+        if (!project.isOpen()) return;
         if (toolWindow.getAnchor() != myAnchor) {
           myAnchor = myToolWindow.getAnchor();
           layoutPanel();