提交 34b0cede 编写于 作者: J João Moreno

fixes #108073

上级 ef5a9128
...@@ -1063,12 +1063,14 @@ class ViewModel { ...@@ -1063,12 +1063,14 @@ class ViewModel {
} }
focus() { focus() {
for (const repository of this.scmViewService.visibleRepositories) { if (this.tree.getFocus().length === 0) {
const widget = this.inputRenderer.getRenderedInputWidget(repository.input); for (const repository of this.scmViewService.visibleRepositories) {
const widget = this.inputRenderer.getRenderedInputWidget(repository.input);
if (widget) { if (widget) {
widget.focus(); widget.focus();
return; return;
}
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册