Skip to content

Commit

Permalink
Fix #17534
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed May 12, 2017
1 parent 839e9af commit fc28aa1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vs/workbench/parts/search/browser/searchResultsView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ export class SearchRenderer extends Disposable implements IRenderer {
templateData.actions.clear();
if (searchModel.isReplaceActive()) {
templateData.actions.push([this.instantiationService.createInstance(ReplaceAction, tree, match, this.viewlet), new RemoveAction(tree, match)], { icon: true, label: false });
} else {
templateData.actions.push([new RemoveAction(tree, match)], { icon: true, label: false });
}
}

Expand Down

0 comments on commit fc28aa1

Please sign in to comment.