Fixed navigation to error position when error panel is shown

GitOrigin-RevId: 7eb7a07cfdc7d569ecb6d746b01857294109ac54
This commit is contained in:
Ekaterina Chernikova
2025-04-04 17:55:36 +02:00
committed by intellij-monorepo-bot
parent fb8e3edefb
commit 7ebcf1b2c6

View File

@@ -48,8 +48,6 @@ class ErrorNotificationPanel private constructor(
val horizontalLayout = items.size <= HORIZONTAL_LAYOUT_THRESHOLD
textPane = htmlErrorMessage?.let { createTextPanel(htmlErrorMessage, horizontalLayout) }
initComponent(items, horizontalLayout)
SwingUtilities.invokeLater { requestFocusInWindow() }
}
private fun initComponent(items: List<PanelItem>, horizontalLayout: Boolean) {