Debugger: Watch - Prevent Esc key from starting edit mode
This commit is contained in:
parent
43a4fefcd4
commit
62cb7271f5
1 changed files with 5 additions and 3 deletions
|
@ -293,9 +293,11 @@ namespace Mesen.GUI.Debugger
|
|||
private void lstWatch_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
if(lstWatch.SelectedItems.Count > 0) {
|
||||
e.Handled = true;
|
||||
StartEdit(e.KeyChar.ToString(), _keyDownItem);
|
||||
_keyDownItem = null;
|
||||
if(e.KeyChar >= ' ' && e.KeyChar < 128) {
|
||||
e.Handled = true;
|
||||
StartEdit(e.KeyChar.ToString(), _keyDownItem);
|
||||
_keyDownItem = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue