mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 13:43:07 +00:00
Fix #72778 - clear settings tree focus when searching
This commit is contained in:
parent
059a3e1642
commit
d1af0c4e4c
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue