This commit is contained in:
peter
2012-01-27 23:03:03 +01:00
parent fd71801191
commit e1bd141018
@@ -442,7 +442,7 @@ public class FindInProjectUtil {
@Nullable
private static GlobalSearchScope toGlobal(Project project, @Nullable SearchScope scope) {
if (scope instanceof GlobalSearchScope) {
if (scope instanceof GlobalSearchScope || scope == null) {
return (GlobalSearchScope)scope;
}
Set<VirtualFile> files = new HashSet<VirtualFile>();