Skip to content

Commit 4b6ccd8

Browse files
authored
adopt setValue accepting ITextSnapshot (microsoft#158244)
microsoft#153922 (comment)
1 parent 8e42bda commit 4b6ccd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export class MergeEditorModel extends EditorModel {
135135
}
136136

137137
public discardMergeChanges(): void {
138-
this.result.setValue(this.getInitialResultValue());
138+
this.result.setValue(this.resultSnapshot);
139139
}
140140

141141
constructor(

0 commit comments

Comments
 (0)