From 74248cf33ca62d0550c968fec2311f56eddb9b46 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 24 Nov 2016 19:26:52 -0300 Subject: [PATCH] Cmd+mnemonic on macOS now can press a button --- src/ui/button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/button.cpp b/src/ui/button.cpp index 1fe2d9629..6b430e3f0 100644 --- a/src/ui/button.cpp +++ b/src/ui/button.cpp @@ -100,7 +100,7 @@ bool ButtonBase::onProcessMessage(Message* msg) // If the button is enabled. if (isEnabled()) { bool mnemonicPressed = - (msg->altPressed() && + ((msg->altPressed() || msg->cmdPressed()) && mnemonicCharPressed(keymsg)); // For kButtonWidget