revert part of the change that causes an exception

This commit is contained in:
Dmitry Jemerov
2009-12-03 18:09:39 +03:00
parent 091d52e8f1
commit 5e83541fa2
@@ -77,6 +77,10 @@ public class PaletteManager implements ProjectComponent {
}
public void projectClosed() {
if (myPaletteWindow != null) {
ToolWindowManager.getInstance(myProject).unregisterToolWindow(IdeBundle.message("toolwindow.palette"));
myPaletteWindow = null;
}
}
@NotNull