mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
enable quick fix actions in inspections view
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user