mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Merge remote-tracking branch 'origin/GP-4299-dragonmacher-dialog-exception' into patch
This commit is contained in:
@@ -102,7 +102,11 @@ public abstract class AbstractNumberInputDialog extends DialogComponentProvider
|
||||
*/
|
||||
protected JPanel buildMainPanel(String prompt, boolean showAsHex) {
|
||||
JPanel panel = createPanel(prompt);
|
||||
numberInputField.addActionListener(e -> okCallback());
|
||||
numberInputField.addActionListener(e -> {
|
||||
if (okButton.isEnabled()) {
|
||||
okCallback();
|
||||
}
|
||||
});
|
||||
|
||||
if (showAsHex) {
|
||||
numberInputField.setHexMode();
|
||||
@@ -258,7 +262,7 @@ public abstract class AbstractNumberInputDialog extends DialogComponentProvider
|
||||
|
||||
//==================================================================================================
|
||||
// Private Methods
|
||||
//==================================================================================================
|
||||
//==================================================================================================
|
||||
|
||||
/**
|
||||
* Create the main panel.
|
||||
|
||||
Reference in New Issue
Block a user