This commit is contained in:
Benjamin Pasero 2017-06-14 21:18:39 +02:00
parent d639a81baa
commit bd0101a9ff

View file

@ -344,7 +344,7 @@ export class EditorGroup implements IEditorGroup {
}));
}
public replaceEditor(toReplace: EditorInput, replaceWidth: EditorInput, replaceIndex:number, openNext = true): void {
public replaceEditor(toReplace: EditorInput, replaceWidth: EditorInput, replaceIndex: number, openNext = true): void {
const event = this.doCloseEditor(toReplace, openNext); // optimization to prevent multiple setActive() in one call
// We want to first add the new editor into our model before emitting the close event because