mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-228892 IAE in ToolWindowManagerImpl.getToolWindow
GitOrigin-RevId: 7b9d33913c88bd1565de87f1cefdaa1288551ad4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
73c3d3231b
commit
90159a5f27
@@ -85,8 +85,8 @@ public final class SelectInAction extends AnAction implements DumbAware {
|
||||
ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(selectInContext.getProject());
|
||||
List<Icon> list = new ArrayList<>();
|
||||
for (SelectInTarget target : targets) {
|
||||
String id = target.getMinorViewId() != null ? null : target.getToolWindowId();
|
||||
ToolWindow toolWindow = toolWindowManager.getToolWindow(id);
|
||||
String id = target.getMinorViewId() == null ? target.getToolWindowId() : null;
|
||||
ToolWindow toolWindow = id == null ? null : toolWindowManager.getToolWindow(id);
|
||||
Icon icon = toolWindow != null ? toolWindow.getIcon() : EmptyIcon.ICON_13;
|
||||
list.add(icon);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user