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
|
//Necessary winform calls
|
||||||
bool Focus();
|
bool Focus();
|
||||||
|
bool ContainsFocus { get; }
|
||||||
void Show();
|
void Show();
|
||||||
void Close();
|
void Close();
|
||||||
bool IsDisposed { get; }
|
bool IsDisposed { get; }
|
||||||
|
|
|
@ -43,6 +43,11 @@ namespace BizHawk.Client.EmuHawk
|
||||||
TakeScreenshot();
|
TakeScreenshot();
|
||||||
break;
|
break;
|
||||||
case "Screen Raw to Clipboard":
|
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();
|
TakeScreenshotToClipboard();
|
||||||
break;
|
break;
|
||||||
case "Screen Client to Clipboard":
|
case "Screen Client to Clipboard":
|
||||||
|
|
Loading…
Reference in New Issue