提交 4f2ffa00 编写于 作者: S SteVen Batten

fixes #58306

上级 5dec5879
...@@ -415,6 +415,7 @@ export class MenubarControl extends Disposable { ...@@ -415,6 +415,7 @@ export class MenubarControl extends Disposable {
} }
private updateMnemonicVisibility(visible: boolean): void { private updateMnemonicVisibility(visible: boolean): void {
if (this.customMenus) {
this.customMenus.forEach(customMenu => { this.customMenus.forEach(customMenu => {
if (customMenu.titleElement.children.length) { if (customMenu.titleElement.children.length) {
let child = customMenu.titleElement.children.item(0) as HTMLElement; let child = customMenu.titleElement.children.item(0) as HTMLElement;
...@@ -424,6 +425,7 @@ export class MenubarControl extends Disposable { ...@@ -424,6 +425,7 @@ export class MenubarControl extends Disposable {
} }
}); });
} }
}
private onRecentlyOpenedChange(): void { private onRecentlyOpenedChange(): void {
this.windowService.getRecentlyOpened().then(recentlyOpened => { this.windowService.getRecentlyOpened().then(recentlyOpened => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册