tastudio: don't pass ctrl+c hotkey to mainform.
This commit is contained in:
parent
f1e8ec02dc
commit
13476f33ca
|
@ -37,6 +37,7 @@
|
|||
|
||||
//Necessary winform calls
|
||||
bool Focus();
|
||||
bool ContainsFocus { get; }
|
||||
void Show();
|
||||
void Close();
|
||||
bool IsDisposed { get; }
|
||||
|
|
|
@ -43,6 +43,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
TakeScreenshot();
|
||||
break;
|
||||
case "Screen Raw to Clipboard":
|
||||
// Ctrl+C clash. any tool that has such acc must check this.
|
||||
// maybe check if mainform has focus instead?
|
||||
if (GlobalWin.Tools.IsLoaded<TAStudio>())
|
||||
if (GlobalWin.Tools.Get<TAStudio>().ContainsFocus)
|
||||
break;
|
||||
TakeScreenshotToClipboard();
|
||||
break;
|
||||
case "Screen Client to Clipboard":
|
||||
|
|
Loading…
Reference in New Issue