From b10549a28581e3b7960205c57d8717bfbe6612e9 Mon Sep 17 00:00:00 2001 From: Marc Date: Sat, 27 Feb 2021 17:23:40 +0100 Subject: [PATCH] :construction: Fixed Language selection command promp: it was selecting english as default selected language, always --- src/interface/defaults/shortcuts/global_command_prompt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface/defaults/shortcuts/global_command_prompt.ts b/src/interface/defaults/shortcuts/global_command_prompt.ts index d6dafbb4b..2e60c2b45 100644 --- a/src/interface/defaults/shortcuts/global_command_prompt.ts +++ b/src/interface/defaults/shortcuts/global_command_prompt.ts @@ -124,7 +124,7 @@ RunningConfig.on('command.openCommandPrompt', () => { { label: 'Set Language', action: () => { - const configuredLanguage = StaticConfig.data.appLanguage + const configuredLanguage = Languages[StaticConfig.data.appLanguage].name new CommandPrompt({ showInput: true, inputPlaceHolder: 'Select a language',