From 987b48dcfd078e6536b5de78305a9d4de2bd23e2 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 2 Jun 2016 16:23:37 +0200 Subject: [PATCH] can't close contents in Kotlin Bytecode toolwindow (KT-9797) --- .../jetbrains/kotlin/idea/actions/ShowKotlinBytecodeAction.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/src/org/jetbrains/kotlin/idea/actions/ShowKotlinBytecodeAction.kt b/idea/src/org/jetbrains/kotlin/idea/actions/ShowKotlinBytecodeAction.kt index cd7e79d83f7..65126d2def2 100644 --- a/idea/src/org/jetbrains/kotlin/idea/actions/ShowKotlinBytecodeAction.kt +++ b/idea/src/org/jetbrains/kotlin/idea/actions/ShowKotlinBytecodeAction.kt @@ -35,7 +35,7 @@ class ShowKotlinBytecodeAction(): AnAction() { var toolWindow = toolWindowManager.getToolWindow(TOOLWINDOW_ID) if (toolWindow == null) { - toolWindow = toolWindowManager.registerToolWindow("Kotlin Bytecode", true, ToolWindowAnchor.RIGHT) + toolWindow = toolWindowManager.registerToolWindow("Kotlin Bytecode", false, ToolWindowAnchor.RIGHT) toolWindow.icon = KotlinIcons.SMALL_LOGO_13 val contentManager = toolWindow.contentManager