fix focus order (#12233)

This commit is contained in:
Aditya Bist
2020-09-10 19:17:24 -07:00
committed by GitHub
parent 133ff73a43
commit baa12d725f

View File

@@ -115,8 +115,8 @@ export class ProjectsController {
public async focusProject(project?: Project): Promise<void> {
if (project && this.projects.includes(project)) {
await vscode.commands.executeCommand(constants.sqlDatabaseProjectsViewFocusCommand);
await this.projectTreeViewProvider.focus(project);
await vscode.commands.executeCommand(constants.sqlDatabaseProjectsViewFocusCommand);
}
}