mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git: use correct component to calculate the modality state
The mainPanel is not added to the component hierarchy at this point. GitOrigin-RevId: ffe3ab119a8eb711cee4890c9accd1d43f963cb4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4186ba1cf7
commit
74bcfb3df0
@@ -44,7 +44,7 @@ internal class ShowDiffWithBranchDialog(val project: Project,
|
||||
}
|
||||
mainPanel.setEmptyText("")
|
||||
|
||||
val modalityState = ModalityState.stateForComponent(mainPanel)
|
||||
val modalityState = ModalityState.stateForComponent(rootPane)
|
||||
ApplicationManager.getApplication().executeOnPooledThread {
|
||||
val result = loadDiff()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user