mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-23 13:16:48 +08:00
Merge remote-tracking branch 'origin/GP-0_ghidragon_added_guard_for_empty_list_of_program_locators_to_open' into patch
This commit is contained in:
+3
-1
@@ -661,7 +661,9 @@ public class ProgramManagerPlugin extends Plugin implements ProgramManager, Opti
|
||||
}
|
||||
|
||||
private void openProgramLocations(List<ProgramLocator> locators) {
|
||||
|
||||
if (locators.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
Set<ProgramLocator> toOpen = new LinkedHashSet<>(locators); // preserve order
|
||||
|
||||
// ensure already opened programs are visible in the tool
|
||||
|
||||
Reference in New Issue
Block a user