Skip to content

Commit 2a1c377

Browse files
committed
1 parent 1544987 commit 2a1c377

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/parts/scm/electron-browser/dirtydiffDecorator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,6 @@ export class DirtyDiffController implements IEditorContribution {
536536
close(): void {
537537
this.session.dispose();
538538
this.session = EmptyDisposable;
539-
this.editor.focus();
540539
}
541540

542541
private assertWidget(): boolean {
@@ -589,6 +588,7 @@ export class DirtyDiffController implements IEditorContribution {
589588
this.widget = null;
590589
this.currentIndex = -1;
591590
this.isDirtyDiffVisible.set(false);
591+
this.editor.focus();
592592
})
593593
);
594594

0 commit comments

Comments
 (0)