未验证 提交 c893db20 编写于 作者: R Rob Lourens

Fix #33108, findInFiles should always select the widget contents

上级 d5861511
......@@ -128,11 +128,6 @@ export class SearchWidget extends Widget {
}
public focus(select: boolean = true, focusReplace: boolean = false): void {
if ((!focusReplace && this.searchInput.inputBox.hasFocus())
|| (focusReplace && this.replaceInput.hasFocus())) {
return;
}
if (focusReplace && this.isReplaceShown()) {
this.replaceInput.focus();
if (select) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册