Skip to content

Commit

Permalink
Disable separator in terminal dropdown
Browse files Browse the repository at this point in the history
Fixes #76878
  • Loading branch information
Tyriar committed Jul 11, 2019
1 parent cd6e7e6 commit 46cc0a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ export class SwitchTerminalActionViewItem extends SelectActionViewItem {

private _updateItems(): void {
const items = this.terminalService.getTabLabels().map(label => <ISelectOptionItem>{ text: label });
items.push({ text: SwitchTerminalActionViewItem.SEPARATOR });
items.push({ text: SwitchTerminalActionViewItem.SEPARATOR, isDisabled: true });
items.push({ text: SelectDefaultShellWindowsTerminalAction.LABEL });
this.setOptions(items, this.terminalService.activeTabIndex);
}
Expand Down

0 comments on commit 46cc0a1

Please sign in to comment.