提交 f57cf85e 编写于 作者: J Joao Moreno

fixes #45554

上级 b5645293
......@@ -249,12 +249,13 @@ class MainPanel extends ViewletPanel {
identityProvider: repository => repository.provider.id
}) as WorkbenchList<ISCMRepository>;
this.disposables.push(this.list);
this.list.onSelectionChange(this.onListSelectionChange, this, this.disposables);
this.list.onContextMenu(this.onListContextMenu, this, this.disposables);
this.viewModel.onDidChangeVisibility(this.onDidChangeVisibility, this, this.disposables);
this.onDidChangeVisibility(this.viewModel.isVisible());
this.disposables.push(this.list);
}
private onDidChangeVisibility(visible: boolean): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册