mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-27 19:00:29 +01:00
Fix #63146
This commit is contained in:
@@ -377,10 +377,9 @@ export class SearchView extends Viewlet implements IViewlet, IPanel {
|
||||
}
|
||||
|
||||
private refreshAndUpdateCount(event?: IChangeEvent): Thenable<void> {
|
||||
return this.refreshTree(event).then(() => {
|
||||
this.searchWidget.setReplaceAllActionState(!this.viewModel.searchResult.isEmpty());
|
||||
this.updateSearchResultCount(this.viewModel.searchResult.query.userDisabledExcludesAndIgnoreFiles);
|
||||
});
|
||||
this.searchWidget.setReplaceAllActionState(!this.viewModel.searchResult.isEmpty());
|
||||
this.updateSearchResultCount(this.viewModel.searchResult.query.userDisabledExcludesAndIgnoreFiles);
|
||||
return this.refreshTree(event);
|
||||
}
|
||||
|
||||
private refreshTree(event?: IChangeEvent): Thenable<any> {
|
||||
|
||||
Reference in New Issue
Block a user