Fix additional regressions in master (#621)

This commit is contained in:
Karl Burtram
2018-02-06 19:13:14 -05:00
committed by GitHub
parent 332dc03df0
commit 579e6bf0cb
10 changed files with 10 additions and 1114 deletions

View File

@@ -61,8 +61,10 @@ export class ServerTreeView {
this._onSelectionOrFocusChange = new Emitter();
if (this._capabilitiesService) {
this._capabilitiesService.onCapabilitiesReady().then(() => {
this.refreshTree();
this._treeSelectionHandler.onTreeActionStateChange(false);
if (this._connectionManagementService.hasRegisteredServers()) {
this.refreshTree();
this._treeSelectionHandler.onTreeActionStateChange(false);
}
});
}
}