From 48844a07d42bb3584556dd3c792b473dd6b5f0b1 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 18 Aug 2020 00:43:42 -0400 Subject: [PATCH] Stops honoring the first step's ignoreFocusOut --- src/commands/gitCommands.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/commands/gitCommands.ts b/src/commands/gitCommands.ts index 7a91420..80549bf 100644 --- a/src/commands/gitCommands.ts +++ b/src/commands/gitCommands.ts @@ -90,6 +90,11 @@ export class GitCommandsCommand extends Command { let ignoreFocusOut; let step = command == null ? commandsStep : await this.getCommandStep(command, commandsStep); + // If this is the first step, don't honor the step's setting + if (step?.ignoreFocusOut === true) { + step.ignoreFocusOut = undefined; + } + while (step != null) { // If we are trying to back up to the menu and have a starting command, then just reset to the starting command if (step === commandsStep && command != null) {