This commit is contained in:
SteVen Batten
2019-10-02 10:58:01 -07:00
parent b058a2831a
commit e2f1ee3573

View File

@@ -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);