mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[rd debugger] IDEA-378292 Fix content manager access: add listener only after creation of the content
IJ-CR-176125 GitOrigin-RevId: f0e2f619d9bd5d1ec606edf6271f1fd415055ee9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6e33f7aef3
commit
d81776fb82
@@ -168,7 +168,7 @@ class FrontendXDebuggerManager(private val project: Project, private val cs: Cor
|
||||
override fun toolWindowsRegistered(ids: List<String?>, toolWindowManager: ToolWindowManager) {
|
||||
for (id in ids) {
|
||||
val toolWindow = toolWindowManager.getToolWindow(id) ?: continue
|
||||
toolWindow.contentManager.addContentManagerListener(contentListener)
|
||||
toolWindow.addContentManagerListener(contentListener)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user