[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:
Yuriy Artamonov
2025-09-04 17:36:58 +00:00
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);
}