fixed not being able to change language with the commandline during an infinite test

closes #4210
This commit is contained in:
Miodec 2023-04-24 12:58:37 +02:00
parent 02d4fa050f
commit 490759f829

View file

@ -18,6 +18,7 @@ import {
import { update as updateCustomThemesList } from "./lists/custom-themes-list";
import { update as updateTagsCommands } from "./lists/tags";
import * as Skeleton from "../popups/skeleton";
import * as ManualRestart from "../test/manual-restart-tracker";
const wrapperId = "commandLineWrapper";
@ -292,6 +293,8 @@ function trigger(command: string): void {
const list = CommandlineLists.current[CommandlineLists.current.length - 1];
let sticky = false;
ManualRestart.set();
$.each(list.list, (_index, obj) => {
if (obj.id == command) {
if (obj.shouldFocusTestUI !== undefined) {