Skip to content

Commit

Permalink
fixes #81838
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatten committed Oct 2, 2019
1 parent b058a28 commit e2f1ee3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,11 @@ export class TitlebarPart extends Part implements ITitleService {
}

private installMenubar(): void {
// If the menubar is already installed, skip
if (this.menubar) {
return;
}

this.customMenubar = this._register(this.instantiationService.createInstance(CustomMenubarControl));

this.menubar = this.element.insertBefore($('div.menubar'), this.title);
Expand Down

0 comments on commit e2f1ee3

Please sign in to comment.