Skip to content

Commit

Permalink
fix #25919 for the old menu
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Aug 8, 2018
1 parent 9d3d20c commit e9b3304
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/code/electron-main/menus.ts
Expand Up @@ -971,6 +971,7 @@ export class CodeMenu {
if (this.currentEnableNativeTabs) {
const hasMultipleWindows = this.windowsMainService.getWindowCount() > 1;

this.nativeTabMenuItems.push(this.createMenuItem(nls.localize('mNewTab', "New Tab"), 'workbench.action.newWindowTab'));
this.nativeTabMenuItems.push(this.createMenuItem(nls.localize('mShowPreviousTab', "Show Previous Tab"), 'workbench.action.showPreviousWindowTab', hasMultipleWindows));
this.nativeTabMenuItems.push(this.createMenuItem(nls.localize('mShowNextTab', "Show Next Tab"), 'workbench.action.showNextWindowTab', hasMultipleWindows));
this.nativeTabMenuItems.push(this.createMenuItem(nls.localize('mMoveTabToNewWindow', "Move Tab to New Window"), 'workbench.action.moveWindowTabToNewWindow', hasMultipleWindows));
Expand Down

0 comments on commit e9b3304

Please sign in to comment.