提交 64955f13 编写于 作者: B Benjamin Pasero

editors - do not notify title when no editors are closing (for #99041)

上级 1434f626
......@@ -1510,7 +1510,9 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
}
// Forward to title control
this.titleAreaControl.closeEditors(editors);
if (editors.length) {
this.titleAreaControl.closeEditors(editors);
}
}
//#endregion
......@@ -1558,7 +1560,9 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
}
// Forward to title control
this.titleAreaControl.closeEditors(editorsToClose);
if (editorsToClose.length) {
this.titleAreaControl.closeEditors(editorsToClose);
}
}
//#endregion
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册