firmwares config - escape should exit dialog
This commit is contained in:
parent
9410a6cb9d
commit
529ec876a2
|
@ -559,6 +559,16 @@ namespace BizHawk.Client.EmuHawk
|
|||
if (didSomething) DoScan();
|
||||
}
|
||||
|
||||
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
|
||||
{
|
||||
if (keyData == Keys.Escape)
|
||||
{
|
||||
this.Close();
|
||||
return true;
|
||||
}
|
||||
return base.ProcessCmdKey(ref msg, keyData);
|
||||
}
|
||||
|
||||
private void lvFirmwares_DragEnter(object sender, DragEventArgs e)
|
||||
{
|
||||
if (e.Data.GetDataPresent(DataFormats.FileDrop))
|
||||
|
|
Loading…
Reference in New Issue