mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
TBX-14320 IJPL-49031 ui: update Project activation timestamp on opening
Fix the case of "Open project in: Current window" option. GitOrigin-RevId: 0c544ab1f360b0f6b97628bc06b1d7870bc570df
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8c927fe2af
commit
cc15a9f6f0
@@ -20,6 +20,7 @@ import com.intellij.openapi.application.EDT
|
||||
import com.intellij.openapi.application.ModalityState
|
||||
import com.intellij.openapi.application.impl.InternalUICustomization
|
||||
import com.intellij.openapi.application.impl.LaterInvocator
|
||||
import com.intellij.openapi.components.ComponentManagerEx
|
||||
import com.intellij.openapi.components.serviceAsync
|
||||
import com.intellij.openapi.components.serviceIfCreated
|
||||
import com.intellij.openapi.diagnostic.Logger
|
||||
@@ -27,7 +28,6 @@ import com.intellij.openapi.diagnostic.debug
|
||||
import com.intellij.openapi.diagnostic.logger
|
||||
import com.intellij.openapi.fileEditor.FileEditorManager
|
||||
import com.intellij.openapi.fileEditor.ex.FileEditorManagerEx
|
||||
import com.intellij.openapi.components.ComponentManagerEx
|
||||
import com.intellij.openapi.options.advanced.AdvancedSettings
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.util.Disposer
|
||||
@@ -171,6 +171,8 @@ abstract class ProjectFrameHelper internal constructor(
|
||||
frame.background = JBColor.PanelBackground
|
||||
balloonLayout.queueRelayout()
|
||||
})
|
||||
|
||||
if (frame.isVisible) notifyProjectActivation() // the frame was reused from an older project and is already activated
|
||||
}
|
||||
|
||||
internal open fun CoroutineScope.createFrameHeaderHelper(frame: JFrame, frameDecorator: IdeFrameDecorator?, rootPane: IdeRootPane): ProjectFrameCustomHeaderHelper =
|
||||
|
||||
Reference in New Issue
Block a user