IDEA-149841 Scratches: "Import class" intention/quick-fix is not available

This commit is contained in:
Gregory.Shrago
2017-03-22 15:22:08 +03:00
parent 9f2767bdc2
commit fdbd31cdf7
@@ -88,8 +88,7 @@ public abstract class ImportClassFixBase<T extends PsiElement, R extends PsiRefe
}
}
PsiManager manager = file.getManager();
return manager.isInProject(file) && !getClassesToImport(true).isEmpty();
return !getClassesToImport(true).isEmpty();
}
@Nullable