mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-5769 - Updated dialogs with combo boxes to have consistent behavior
when the Enter key is pressed
This commit is contained in:
@@ -257,7 +257,7 @@ public class PopulateFidDialog extends DialogComponentProvider {
|
||||
List<FidFile> fidFileList = FidFileManager.getInstance().getUserAddedFiles();
|
||||
FidFile[] files = fidFileList.toArray(new FidFile[fidFileList.size()]);
|
||||
fidFileComboBox = new GComboBox<>(files);
|
||||
fidFileComboBox.addActionListener(e -> updateLibraryChoices());
|
||||
fidFileComboBox.addItemListener(e -> updateLibraryChoices());
|
||||
fidFileComboBox.getAccessibleContext().setAccessibleName("Fid File");
|
||||
return fidFileComboBox;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user