Skip to content

Commit 1c84b2b

Browse files
committed
reapply intervening changeset 2 to TAStudio.MenuItems.cs
1 parent d98c3c2 commit 1c84b2b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,11 @@ private void SaveSelectionToMacroMenuItem_Click(object sender, EventArgs e)
164164

165165
if (file != null)
166166
{
167-
var selectionStart = TasView.SelectionStartIndex!.Value;
167+
var selectionStart = FirstSelectedRowIndex;
168168
new MovieZone(
169-
Emulator,
170-
Tools,
171-
MovieSession,
169+
CurrentTasMovie,
172170
start: selectionStart,
173-
length: TasView.SelectionEndIndex!.Value - selectionStart + 1)
171+
length: endIndex - selectionStart + 1)
174172
.Save(file.FullName);
175173

176174
Config.RecentMacros.Add(file.FullName);

0 commit comments

Comments
 (0)