提交 6bc165d4 编写于 作者: R Rob Lourens

Fix #58309 - possibly same as #58311 but be safe

上级 d0e6e63d
......@@ -48,7 +48,9 @@ export class TOCTreeModel {
}
public update(): void {
this.updateGroupCount(this._settingsTreeRoot);
if (this._settingsTreeRoot) {
this.updateGroupCount(this._settingsTreeRoot);
}
}
private updateGroupCount(group: SettingsTreeGroupElement): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册