fix NPE if setTitleActions is called before getContentManager()

GitOrigin-RevId: 3fa0d3254f78c62bbc94b5292e43fdacd1275ad2
This commit is contained in:
Vladimir Krivosheev
2020-01-15 13:49:48 +01:00
committed by intellij-monorepo-bot
parent f094a4c771
commit c0f8083cd9

View File

@@ -283,7 +283,7 @@ class ToolWindowImpl internal constructor(val toolWindowManager: ToolWindowManag
}
override fun setTitleActions(vararg actions: AnAction) {
createContentIfNeeded()
ensureContentManagerInitialized()
decorator!!.setTitleActions(actions)
}