From d93520bab417e6541d1f7be72fa30ba2c243336a Mon Sep 17 00:00:00 2001 From: 1hitsong <3330318+1hitsong@users.noreply.github.com> Date: Fri, 12 Jan 2024 15:52:04 -0500 Subject: [PATCH] Exit loop once match is found --- components/manager/ViewCreator.bs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/manager/ViewCreator.bs b/components/manager/ViewCreator.bs index 214712b4..55b6275f 100644 --- a/components/manager/ViewCreator.bs +++ b/components/manager/ViewCreator.bs @@ -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