import com.intellij.ui.BalloonLayout;
import com.intellij.ui.FocusTrackback;
import com.intellij.ui.FrameState;
-import com.intellij.ui.ScreenUtil;
import com.intellij.util.ImageLoader;
import com.intellij.util.containers.HashMap;
import com.intellij.util.ui.UIUtil;
protected void loadFrameState() {
final Window frame = getFrame();
- if (!WindowStateService.getInstance().loadStateFor(myProject, myDimensionKey, frame)) {
+ if (myDimensionKey != null && !WindowStateService.getInstance().loadStateFor(myProject, myDimensionKey, frame)) {
final IdeFrame ideFrame = WindowManagerEx.getInstanceEx().getIdeFrame(myProject);
if (ideFrame != null) {
frame.setBounds(ideFrame.suggestChildFrameBounds());