From deb5bbe8e5763680225b632fb3a23e0ce7969ead Mon Sep 17 00:00:00 2001 From: sanidhyas3s Date: Fri, 1 Mar 2024 08:13:38 +0530 Subject: [PATCH] fix: Prevent theme switch when opening theme commandline from the footer fixes #5103 --- frontend/src/ts/commandline/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/commandline/index.ts b/frontend/src/ts/commandline/index.ts index 69c8b2835943..0423af3f9bc4 100644 --- a/frontend/src/ts/commandline/index.ts +++ b/frontend/src/ts/commandline/index.ts @@ -158,7 +158,7 @@ function showFound(): void { if (!/font/gi.test(obj.id)) { UpdateConfig.previewFontFamily(Config.fontFamily); } - if (obj.hover) obj.hover(); + if (obj.hover && !obj.id.startsWith("changeTheme")) obj.hover(); return; } }