Linux: Fixed debugger shortcut not working in main window

This commit is contained in:
Sour 2019-01-27 01:33:49 -05:00
parent d45c70be8a
commit 64fb78ae66

View file

@ -307,7 +307,7 @@ namespace Mesen.GUI.Config
Form parentForm = parent.FindForm();
if(parentForm is BaseForm) {
ProcessCmdKeyHandler onProcessCmdKeyHandler = (Keys keyData, ref bool processed) => {
if(!processed && parent.ContainsFocus && keyData == keys) {
if(!processed && item.Enabled && parent.ContainsFocus && keyData == keys) {
item.PerformClick();
processed = true;
}