Skip to content

Commit 6f76b7a

Browse files
committed
Fix a situation where copy/paste hotkeys don't work.
1 parent 5a105a1 commit 6f76b7a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,13 @@ private void TAStudio_MouseLeave(object sender, EventArgs e)
942942
toolTip1.SetToolTip(TasView, null);
943943
}
944944

945+
private void TAStudio_Activated(object sender, EventArgs e)
946+
{
947+
// The copy/paste shortcut keys are handled by the right-click context menu, not EmuHawk hotkeys.
948+
// So they will only work if TasView is focused.
949+
TasView.Select();
950+
}
951+
945952
private void TAStudio_Deactivate(object sender, EventArgs e)
946953
{
947954
if (_leftButtonHeld)

0 commit comments

Comments
 (0)