From 9028c00a17483aac032198d55fcbfacde710cef2 Mon Sep 17 00:00:00 2001 From: Toil <62353659+ilyhalight@users.noreply.github.com> Date: Sat, 26 Sep 2026 00:37:25 +0300 Subject: [PATCH] fix: clear translation button error without aborting --- src/ui/translationCommands.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/translationCommands.ts b/src/ui/translationCommands.ts index f61bdcf6..fff48076 100644 --- a/src/ui/translationCommands.ts +++ b/src/ui/translationCommands.ts @@ -69,10 +69,10 @@ export async function handleTranslationButtonCommand( return; } - // A click on an errored, idle button only clears the error and stops translation. - // Starting a new translation must be a separate, deliberate click. + // A click on an errored, idle button only clears the error. if (deps.currentStatus === "error" && !deps.currentLoading) { deps.transformBtn("none", t("translateVideo")); + return; } if (deps.currentStatus !== "none" || deps.currentLoading) {