mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
reusing project frames
This commit is contained in:
@@ -623,8 +623,13 @@ public final class WindowManagerImpl extends WindowManagerEx implements Applicat
|
||||
frame.setFileTitle(null, null);
|
||||
|
||||
myProject2Frame.remove(project);
|
||||
Disposer.dispose(frame.getStatusBar());
|
||||
frame.dispose();
|
||||
if (myProject2Frame.isEmpty()) {
|
||||
myProject2Frame.put(null, frame);
|
||||
}
|
||||
else {
|
||||
Disposer.dispose(frame.getStatusBar());
|
||||
frame.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public final void disposeRootFrame() {
|
||||
|
||||
Reference in New Issue
Block a user