mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
RUBY-9697 Code Analysis window opens UNDER the Commit Changes Dialog [r=kirillk]
This commit is contained in:
@@ -811,7 +811,9 @@ public class FocusManagerImpl extends IdeFocusManager implements Disposable {
|
||||
assertDispatchThread();
|
||||
|
||||
Component result = null;
|
||||
if (myRunContext != null) {
|
||||
if (!ApplicationManager.getApplication().isActive()) {
|
||||
result = myLastFocusedAtDeactivation.get(getLastFocusedFrame()).get();
|
||||
} else if (myRunContext != null) {
|
||||
result = (Component)myRunContext.getData(PlatformDataKeys.CONTEXT_COMPONENT.getName());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user