Skip to content

Commit

Permalink
Don't send widgets on .focus command
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Grant <[email protected]>
  • Loading branch information
colin-grant-work committed Apr 16, 2021
1 parent ab5fef4 commit abe6b7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export class PluginViewRegistry implements FrontendApplicationContribution {
open: () => this.openView(view.id, { activate: true })
}));
toDispose.push(this.commands.registerCommand({ id: `${view.id}.focus` }, {
execute: () => this.openView(view.id, { activate: true })
execute: async () => { await this.openView(view.id, { activate: true }); }
}));
return toDispose;
}
Expand Down

0 comments on commit abe6b7a

Please sign in to comment.