mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Don't take the global find clipboard text when focusing during search
Fix #88452
This commit is contained in:
parent
9e69751c92
commit
c4309702c5
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue