mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-119521 Adding RSA keys dialog becomes unclickable if it is displayed when test connection is in progress
This commit is contained in:
@@ -613,6 +613,12 @@ public class ProgressWindow extends BlockingProgressIndicator implements Disposa
|
||||
? new MyDialogWrapper(myParentWindow, myShouldShowCancel)
|
||||
: new MyDialogWrapper(myProject, myShouldShowCancel);
|
||||
myPopup.setUndecorated(true);
|
||||
if (SystemInfo.isAppleJvm) {
|
||||
// With Apple JDK we look for MacMessage parent by the window title.
|
||||
// As far as progress windows are undecorated we set the window
|
||||
// component name as a title to keep it unique.
|
||||
myPopup.setTitle(myPopup.getWindow().getName());
|
||||
}
|
||||
if (myPopup.getPeer() instanceof DialogWrapperPeerImpl) {
|
||||
((DialogWrapperPeerImpl)myPopup.getPeer()).setAutoRequestFocus(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user