mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
fix NPE if setTitleActions is called before getContentManager()
GitOrigin-RevId: 3fa0d3254f78c62bbc94b5292e43fdacd1275ad2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f094a4c771
commit
c0f8083cd9
@@ -283,7 +283,7 @@ class ToolWindowImpl internal constructor(val toolWindowManager: ToolWindowManag
|
||||
}
|
||||
|
||||
override fun setTitleActions(vararg actions: AnAction) {
|
||||
createContentIfNeeded()
|
||||
ensureContentManagerInitialized()
|
||||
decorator!!.setTitleActions(actions)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user