diff --git a/src/main/java/de/jangassen/platform/mac/convert/MenuItemConverter.java b/src/main/java/de/jangassen/platform/mac/convert/MenuItemConverter.java index f341667..36c4e80 100644 --- a/src/main/java/de/jangassen/platform/mac/convert/MenuItemConverter.java +++ b/src/main/java/de/jangassen/platform/mac/convert/MenuItemConverter.java @@ -124,7 +124,8 @@ private static int toKeyEventModifierFlags(KeyCombination accelerator) { if (accelerator.getAlt() == KeyCombination.ModifierValue.DOWN) { modifiers |= NSEventModifierFlags.NSEventModifierFlagOption; } - if (accelerator.getMeta() == KeyCombination.ModifierValue.DOWN) { + if (accelerator.getMeta() == KeyCombination.ModifierValue.DOWN || + accelerator.getShortcut() == KeyCombination.ModifierValue.DOWN) { modifiers |= NSEventModifierFlags.NSEventModifierFlagCommand; } if (accelerator.getControl() == KeyCombination.ModifierValue.DOWN) {