mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Fix #125250
This commit is contained in:
@@ -148,10 +148,12 @@ export class SearchEditorInput extends EditorInput {
|
||||
this._cachedResultsModel = data.resultsModel;
|
||||
this._cachedConfigurationModel = data.configurationModel;
|
||||
this._onDidChangeLabel.fire();
|
||||
this._register(this._cachedConfigurationModel.onConfigDidUpdate(() => {
|
||||
this._onDidChangeLabel.fire();
|
||||
this.memento.getMemento(StorageScope.WORKSPACE, StorageTarget.MACHINE).searchConfig = this._cachedConfigurationModel?.config;
|
||||
}));
|
||||
if (!this.isDisposed()) {
|
||||
this._register(this._cachedConfigurationModel.onConfigDidUpdate(() => {
|
||||
this._onDidChangeLabel.fire();
|
||||
this.memento.getMemento(StorageScope.WORKSPACE, StorageTarget.MACHINE).searchConfig = this._cachedConfigurationModel?.config;
|
||||
}));
|
||||
}
|
||||
return data;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user