diff --git a/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_BlockDump8.Designer.cs b/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_BlockDump8.Designer.cs index 33cc6326a..82a803885 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_BlockDump8.Designer.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_BlockDump8.Designer.cs @@ -72,6 +72,7 @@ this.CB_Key.Size = new System.Drawing.Size(183, 22); this.CB_Key.TabIndex = 0; this.CB_Key.SelectedIndexChanged += new System.EventHandler(this.CB_Key_SelectedIndexChanged); + this.CB_Key.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CB_Key_KeyDown); // // L_Key // diff --git a/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_BlockDump8.cs b/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_BlockDump8.cs index db4cb1c4e..c51fb1615 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_BlockDump8.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_BlockDump8.cs @@ -245,5 +245,17 @@ namespace PKHeX.WinForms if (CurrentBlock.Type != SCTypeCode.Object && CurrentBlock.Type != SCTypeCode.Array) L_Detail_R.Text = GetBlockSummary(CurrentBlock); } + + private void CB_Key_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode != Keys.Enter) + return; + + var text = CB_Key.Text; + if (text.Length != 8) + return; + + CB_Key.SelectedValue = (int)Util.GetHexValue(text); + } } }