Skip to content

Commit

Permalink
activate widget when opened by 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 14, 2021
1 parent a1f5e59 commit 8c9fb88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class PreferencesContribution extends AbstractViewContribution<Preference

registerCommands(commands: CommandRegistry): void {
commands.registerCommand(CommonCommands.OPEN_PREFERENCES, {
execute: () => this.openView({ reveal: true }),
execute: () => this.openView({ activate: true }),
});
commands.registerCommand(PreferencesCommands.OPEN_PREFERENCES_JSON_TOOLBAR, {
isEnabled: () => true,
Expand Down

0 comments on commit 8c9fb88

Please sign in to comment.