Browse Source

Stops honoring the first step's ignoreFocusOut

main
Eric Amodio 4 years ago
parent
commit
48844a07d4
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/commands/gitCommands.ts

+ 5
- 0
src/commands/gitCommands.ts View File

@ -90,6 +90,11 @@ export class GitCommandsCommand extends Command {
let ignoreFocusOut; let ignoreFocusOut;
let step = command == null ? commandsStep : await this.getCommandStep(command, commandsStep); 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) { 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 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) { if (step === commandsStep && command != null) {

Loading…
Cancel
Save