enable quick fix actions in inspections view

This commit is contained in:
anna
2012-02-29 11:39:28 +01:00
parent 765c60dc50
commit c5da23c777
@@ -78,7 +78,7 @@ public class QuickFixAction extends AnAction {
final InspectionTree tree = view.getTree();
final InspectionTool tool = tree.getSelectedTool();
if (!view.isSingleToolInSelection() || (tool instanceof InspectionToolWrapper && ((InspectionToolWrapper)tool).getTool() != myTool)) {
if (!view.isSingleToolInSelection() || tool != myTool) {
e.getPresentation().setVisible(false);
e.getPresentation().setEnabled(false);
return;