mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 02:34:37 +08:00
GP-4048 - Updated the Note Bookmark dialog to allow users to press Enter
to close the dialog when the Category field is focused
This commit is contained in:
+1
@@ -114,6 +114,7 @@ public class CreateBookmarkDialog extends DialogComponentProvider {
|
|||||||
|
|
||||||
categoryComboBox = new GhidraComboBox<>(getModel());
|
categoryComboBox = new GhidraComboBox<>(getModel());
|
||||||
categoryComboBox.setEditable(true);
|
categoryComboBox.setEditable(true);
|
||||||
|
categoryComboBox.setEnterKeyForwarding(true);
|
||||||
descriptionTextField = new JTextField(20);
|
descriptionTextField = new JTextField(20);
|
||||||
|
|
||||||
panel.add(new JLabel("Address: ", SwingConstants.RIGHT));
|
panel.add(new JLabel("Address: ", SwingConstants.RIGHT));
|
||||||
|
|||||||
Reference in New Issue
Block a user