mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ui] Do not log warnings for default project on Welcome screen for WindowStateService
WARN - #c.i.o.u.WindowStateService - cannot find a project frame for ProjectDefault (Template) Project GitOrigin-RevId: c433afbd527cee823fd11e883687473ca09fedd6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c552d3df2b
commit
88c3c4239d
@@ -269,6 +269,8 @@ abstract class WindowStateServiceImpl extends WindowStateService implements Modi
|
||||
|
||||
private static @Nullable GraphicsConfiguration getConfiguration(@Nullable Object object) {
|
||||
if (object instanceof Project project) {
|
||||
if (project.isDefault()) return null;
|
||||
|
||||
object = WindowManager.getInstance().getFrame(project);
|
||||
if (object == null) LOG.warn("cannot find a project frame for " + project);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user