mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
inspection offline view: ignore inspection if it's not present (EA-97066)
This commit is contained in:
+3
-1
@@ -167,7 +167,9 @@ public class ViewOfflineResultsAction extends AnAction {
|
||||
}
|
||||
};
|
||||
for (String id : resMap.keySet()) {
|
||||
inspectionProfile.enableTool(id, project);
|
||||
if (inspectionProfile.getToolsOrNull(id, project) != null) {
|
||||
inspectionProfile.enableTool(id, project);
|
||||
}
|
||||
}
|
||||
}
|
||||
return showOfflineView(project, resMap, inspectionProfile, title);
|
||||
|
||||
Reference in New Issue
Block a user