From c57e7399ce99c570c7f2d30f42851321e459f904 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