mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-09 01:28:50 +01:00
Fix #128160
This commit is contained in:
@@ -1056,7 +1056,7 @@ export class SettingsEditor2 extends EditorPane {
|
||||
this.tocTreeModel.settingsTreeRoot = this.settingsTreeModel.root as SettingsTreeGroupElement;
|
||||
|
||||
const cachedState = this.restoreCachedState();
|
||||
if (cachedState && cachedState.searchQuery) {
|
||||
if (cachedState && cachedState.searchQuery || !!this.searchWidget.getValue()) {
|
||||
await this.onSearchInputChanged();
|
||||
} else {
|
||||
this.refreshTOCTree();
|
||||
|
||||
Reference in New Issue
Block a user