mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Disposing popup corrupts appearing popup (fix attempt #2)
This commit is contained in:
@@ -130,8 +130,15 @@ public class PopupDispatcher implements AWTEventListener, KeyEventDispatcher, Id
|
||||
}
|
||||
|
||||
public static void unsetShowing(WizardPopup aBaseWizardPopup) {
|
||||
ourShowingStep = aBaseWizardPopup.getParent();
|
||||
}
|
||||
if (ourActiveWizardRoot != null) {
|
||||
for (WizardPopup wp = aBaseWizardPopup; wp != null; wp = wp.getParent()) {
|
||||
if (wp == ourActiveWizardRoot) {
|
||||
ourShowingStep = aBaseWizardPopup.getParent();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static WizardPopup getActiveRoot() {
|
||||
return ourActiveWizardRoot;
|
||||
|
||||
Reference in New Issue
Block a user