Exit loop once match is found
This commit is contained in:
parent
281b6d37f1
commit
c57e7399ce
|
@ -103,6 +103,7 @@ sub processSubtitleSelection()
|
||||||
for each item in m.view.fullSubtitleData
|
for each item in m.view.fullSubtitleData
|
||||||
if item.index = m.view.selectedSubtitle
|
if item.index = m.view.selectedSubtitle
|
||||||
m.view.previousSubtitleWasEncoded = item.IsEncoded
|
m.view.previousSubtitleWasEncoded = item.IsEncoded
|
||||||
|
exit for
|
||||||
end if
|
end if
|
||||||
end for
|
end for
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user