瀏覽代碼

Stops honoring the first step's ignoreFocusOut

main
Eric Amodio 4 年之前
父節點
當前提交
48844a07d4
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      src/commands/gitCommands.ts

+ 5
- 0
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) {

Loading…
取消
儲存