Exit loop once match is found

This commit is contained in:
1hitsong 2024-01-12 15:52:04 -05:00
parent d4f4bfc741
commit d93520bab4

View File

@ -103,6 +103,7 @@ sub processSubtitleSelection()
for each item in m.view.fullSubtitleData
if item.index = m.view.selectedSubtitle
m.view.previousSubtitleWasEncoded = item.IsEncoded
exit for
end if
end for