mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
usage view: exclude invalid files from read-only check
This commit is contained in:
@@ -1360,7 +1360,7 @@ public class UsageViewImpl implements UsageView, UsageModelTracker.UsageModelTra
|
||||
if (usage instanceof UsageInFile) {
|
||||
UsageInFile usageInFile = (UsageInFile)usage;
|
||||
VirtualFile file = usageInFile.getFile();
|
||||
if (file != null) result.add(file);
|
||||
if (file != null && file.isValid()) result.add(file);
|
||||
}
|
||||
|
||||
if (usage instanceof UsageInFiles) {
|
||||
|
||||
Reference in New Issue
Block a user