mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-229066 IdeFrameDecorator: No default button in some dialogs
GitOrigin-RevId: 156a011a96dafe2d6f61b5f18e5f2272288c50ed
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6f70236a40
commit
5354d35cd2
+2
@@ -50,7 +50,9 @@ class CustomFrameDialogContent private constructor(window: Window, content: Cont
|
||||
}
|
||||
|
||||
panel.add(header, "growx, wmin 100")
|
||||
val oldButton = (window as RootPaneContainer).rootPane.defaultButton
|
||||
panel.add(content, "grow")
|
||||
(window as RootPaneContainer).rootPane.defaultButton = oldButton
|
||||
}
|
||||
|
||||
override val content: JComponent
|
||||
|
||||
Reference in New Issue
Block a user