diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs index a84df36576..1e50eab723 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs @@ -309,11 +309,11 @@ namespace BizHawk.Client.EmuHawk // // ReselectClipboardMenuItem // - this.ReselectClipboardMenuItem.Enabled = false; this.ReselectClipboardMenuItem.Name = "ReselectClipboardMenuItem"; this.ReselectClipboardMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.B))); this.ReselectClipboardMenuItem.Size = new System.Drawing.Size(240, 22); this.ReselectClipboardMenuItem.Text = "Reselect Clipboard"; + this.ReselectClipboardMenuItem.Click += new System.EventHandler(this.ReselectClipboardMenuItem_Click); // // toolStripSeparator7 // diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs index e5555a6520..c689588037 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs @@ -372,6 +372,15 @@ namespace BizHawk.Client.EmuHawk TasView.SelectAll(); } + private void ReselectClipboardMenuItem_Click(object sender, EventArgs e) + { + TasView.DeselectAll(); + foreach (var item in _tasClipboard) + { + TasView.SelectItem(item.Frame, true); + } + } + private void CopyMenuItem_Click(object sender, EventArgs e) { _tasClipboard.Clear(); @@ -380,7 +389,7 @@ namespace BizHawk.Client.EmuHawk for (var i = 0; i < list.Count; i++) { var input = _tas.GetInputState(i); - _tasClipboard.Add(new TasClipboardEntry(i, input)); + _tasClipboard.Add(new TasClipboardEntry(list[i], input)); var lg = _tas.LogGeneratorInstance(); lg.SetSource(input); sb.AppendLine(lg.GenerateLogEntry());