Skip to content

Commit

Permalink
fixes #37432
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Nov 2, 2017
1 parent 1544987 commit 2a1c377
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,6 @@ export class DirtyDiffController implements IEditorContribution {
close(): void {
this.session.dispose();
this.session = EmptyDisposable;
this.editor.focus();
}

private assertWidget(): boolean {
Expand Down Expand Up @@ -589,6 +588,7 @@ export class DirtyDiffController implements IEditorContribution {
this.widget = null;
this.currentIndex = -1;
this.isDirtyDiffVisible.set(false);
this.editor.focus();
})
);

Expand Down

0 comments on commit 2a1c377

Please sign in to comment.