mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-11-05 18:30:17 +00:00
Merge remote-tracking branch
'origin/GP-3631_dev747368_PR-5550_oldshensheep_fix-npe-LocalFileChooserModel' (Closes #5550)
This commit is contained in:
commit
627382c8a9
1 changed files with 3 additions and 0 deletions
|
@ -260,6 +260,9 @@ public class LocalFileChooserModel implements GhidraFileChooserModel {
|
|||
}
|
||||
|
||||
Icon rootIcon = FS_VIEW.getSystemIcon(root); // possibly a slow call
|
||||
if (rootIcon == null) {
|
||||
rootIcon = PROBLEM_FILE_ICON;
|
||||
}
|
||||
iconMap.put(root, rootIcon);
|
||||
callback.call();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue