We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b55449 commit 7dee24cCopy full SHA for 7dee24c
ff-utils-winforms/UI/TrackList.cs
@@ -226,7 +226,7 @@ public static string GetMapArgs()
226
MediaStreamListEntry entry = (MediaStreamListEntry)item.Tag;
227
228
ListViewItem correspodingFileEntry = Program.mainForm.fileListBox.Items.Cast<ListViewItem>().Where(x => ((FileListEntry)x.Tag).File == entry.MediaFile).First();
229
- int fileIdx = Program.mainForm.fileListBox.Items.IndexOf(correspodingFileEntry);
+ int fileIdx = RunTask.currentFileListMode == RunTask.FileListMode.Batch ? 0 : Program.mainForm.fileListBox.Items.IndexOf(correspodingFileEntry);
230
231
if (!fileIndexesToMap.Contains(fileIdx))
232
fileIndexesToMap.Add(fileIdx);
0 commit comments