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

fixes #108073

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