提交 d1af0c4e 编写于 作者: R Rob Lourens

Fix #72778 - clear settings tree focus when searching

上级 059a3e16
......@@ -1065,7 +1065,7 @@ export class SettingsEditor2 extends BaseEditor {
this.searchInProgress = null;
}
this.viewState.filterToCategory = undefined;
this.tocTree.setFocus([]);
this.tocTreeModel.currentSearchModel = this.searchResultModel;
this.onSearchModeToggled();
......@@ -1206,8 +1206,7 @@ export class SettingsEditor2 extends BaseEditor {
this.tocTreeModel.update();
}
this.tocTree.setSelection([]);
this.viewState.filterToCategory = undefined;
this.tocTree.setFocus([]);
this.tocTree.expandAll();
this.renderTree(undefined, true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册