mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-58603 Messages ToolWindow should not grab focus if there is some user activity
This commit is contained in:
@@ -479,7 +479,10 @@ public class CompilerTask extends Task.Backgroundable {
|
||||
private void activateMessageView() {
|
||||
synchronized (myMessageViewLock) {
|
||||
if (myErrorTreeView != null) {
|
||||
ToolWindowManager.getInstance(myProject).getToolWindow(ToolWindowId.MESSAGES_WINDOW).activate(null);
|
||||
final ToolWindow tw = ToolWindowManager.getInstance(myProject).getToolWindow(ToolWindowId.MESSAGES_WINDOW);
|
||||
if (tw != null) {
|
||||
tw.activate(null, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user