Linux: Fixed debugger shortcut not working in main window
This commit is contained in:
parent
d45c70be8a
commit
64fb78ae66
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ namespace Mesen.GUI.Config
|
||||||
Form parentForm = parent.FindForm();
|
Form parentForm = parent.FindForm();
|
||||||
if(parentForm is BaseForm) {
|
if(parentForm is BaseForm) {
|
||||||
ProcessCmdKeyHandler onProcessCmdKeyHandler = (Keys keyData, ref bool processed) => {
|
ProcessCmdKeyHandler onProcessCmdKeyHandler = (Keys keyData, ref bool processed) => {
|
||||||
if(!processed && parent.ContainsFocus && keyData == keys) {
|
if(!processed && item.Enabled && parent.ContainsFocus && keyData == keys) {
|
||||||
item.PerformClick();
|
item.PerformClick();
|
||||||
processed = true;
|
processed = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue