mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
Fixed navigation to error position when error panel is shown
GitOrigin-RevId: 7eb7a07cfdc7d569ecb6d746b01857294109ac54
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fb8e3edefb
commit
7ebcf1b2c6
@@ -48,8 +48,6 @@ class ErrorNotificationPanel private constructor(
|
|||||||
val horizontalLayout = items.size <= HORIZONTAL_LAYOUT_THRESHOLD
|
val horizontalLayout = items.size <= HORIZONTAL_LAYOUT_THRESHOLD
|
||||||
textPane = htmlErrorMessage?.let { createTextPanel(htmlErrorMessage, horizontalLayout) }
|
textPane = htmlErrorMessage?.let { createTextPanel(htmlErrorMessage, horizontalLayout) }
|
||||||
initComponent(items, horizontalLayout)
|
initComponent(items, horizontalLayout)
|
||||||
|
|
||||||
SwingUtilities.invokeLater { requestFocusInWindow() }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun initComponent(items: List<PanelItem>, horizontalLayout: Boolean) {
|
private fun initComponent(items: List<PanelItem>, horizontalLayout: Boolean) {
|
||||||
|
|||||||
Reference in New Issue
Block a user