We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1544987 commit 2a1c377Copy full SHA for 2a1c377
1 file changed
src/vs/workbench/parts/scm/electron-browser/dirtydiffDecorator.ts
@@ -536,7 +536,6 @@ export class DirtyDiffController implements IEditorContribution {
536
close(): void {
537
this.session.dispose();
538
this.session = EmptyDisposable;
539
- this.editor.focus();
540
}
541
542
private assertWidget(): boolean {
@@ -589,6 +588,7 @@ export class DirtyDiffController implements IEditorContribution {
589
588
this.widget = null;
590
this.currentIndex = -1;
591
this.isDirtyDiffVisible.set(false);
+ this.editor.focus();
592
})
593
);
594
0 commit comments