Skip to content

Commit f34d169

Browse files
committed
resolves microsoft#56274
1 parent b4893ed commit f34d169

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

src/vs/workbench/electron-browser/main.contribution.ts

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -280,16 +280,15 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
280280
order: 4
281281
});
282282

283-
if (!isMacintosh) {
284-
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
285-
group: 'z_Exit',
286-
command: {
287-
id: QUIT_ID,
288-
title: nls.localize({ key: 'miExit', comment: ['&& denotes a mnemonic'] }, "E&&xit")
289-
},
290-
order: 1
291-
});
292-
}
283+
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
284+
group: 'z_Exit',
285+
command: {
286+
id: QUIT_ID,
287+
title: nls.localize({ key: 'miExit', comment: ['&& denotes a mnemonic'] }, "E&&xit")
288+
},
289+
order: 1,
290+
when: IsMacContext.toNegated()
291+
});
293292

294293
// Appereance menu
295294
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {

0 commit comments

Comments
 (0)