Skip to content

Commit

Permalink
Focus on Tunnels View command
Browse files Browse the repository at this point in the history
Fixes #86076
  • Loading branch information
alexr00 committed Dec 10, 2019
1 parent f7879f3 commit 90e7939
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vs/workbench/contrib/remote/browser/tunnelView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,11 @@ export class TunnelPanel extends ViewPane {
return this.titleActions;
}

focus(): void {
super.focus();
this.tree.domFocus();
}

private onContextMenu(treeEvent: ITreeContextMenuEvent<ITunnelItem | ITunnelGroup>, actionRunner: ActionRunner): void {
if (!(treeEvent.element instanceof TunnelItem)) {
return;
Expand Down

0 comments on commit 90e7939

Please sign in to comment.