提交 46cc0a16 编写于 作者: D Daniel Imms

Disable separator in terminal dropdown

Fixes #76878
上级 cd6e7e68
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册