mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
update frame state - ignore disposed project
GitOrigin-RevId: e6165bf2f5ff13e9854a89fa13c8b394e06f3f5c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1cb92713ce
commit
45fa74a4f0
@@ -124,7 +124,7 @@ public final class WindowManagerImpl extends WindowManagerEx implements Persiste
|
||||
// but later, when getStateModificationCount or getState is called, may be no frame at all.
|
||||
defaultFrameInfoHelper.updateFrameInfo(frameHelper);
|
||||
}
|
||||
else {
|
||||
else if (!project.isDisposed()) {
|
||||
ProjectFrameBounds projectFrameBounds = ProjectFrameBounds.getInstance(project);
|
||||
projectFrameBounds.markDirty(FrameInfoHelper.isMaximized(extendedState) ? null : bounds);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user