Don't take the global find clipboard text when focusing during search

Fix #88452
This commit is contained in:
Rob Lourens 2020-01-31 16:52:47 -08:00
parent 9e69751c92
commit c4309702c5

View file

@ -1297,7 +1297,7 @@ export class SearchView extends ViewPane {
this.onQueryTriggered(query, options, excludePatternText, includePatternText, triggeredOnType);
if (!preserveFocus) {
this.searchWidget.focus(false); // focus back to input field
this.searchWidget.focus(false, undefined, true); // focus back to input field
}
}, onQueryValidationError);
}