inspection offline view: ignore inspection if it's not present (EA-97066)

This commit is contained in:
Dmitry Batkovich
2017-03-13 12:52:07 +03:00
parent 8c692b1dc6
commit 1c78cd0ca4
@@ -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);