提交 f0fb3231 编写于 作者: J Jackson Kearl

Fix #94439.

上级 b34be2a2
......@@ -248,10 +248,7 @@ export class SearchEditor extends BaseTextEditor {
}
focusSearchInput() {
const viewState = this.loadViewState();
if (viewState && viewState.focused === 'editor') {
this.queryEditorWidget.searchInput.focus();
}
this.queryEditorWidget.searchInput.focus();
}
focusNextInput() {
......
......@@ -161,7 +161,7 @@ export class RerunSearchEditorSearchAction extends Action {
export class FocusQueryEditorWidgetAction extends Action {
static readonly ID: string = Constants.FocusQueryEditorWidgetCommandId;
static readonly LABEL = localize('search.action.focusQueryEditorWidget', "Focus Query Editor Widget");
static readonly LABEL = localize('search.action.focusQueryEditorWidget', "Focus Search Editor Input");
constructor(id: string, label: string,
@IEditorService private readonly editorService: IEditorService,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册