From 3e1ba34ca5d0c02d15b8efb3f27af8791a9dd53c Mon Sep 17 00:00:00 2001 From: Chris Rizzitello Date: Tue, 10 Oct 2023 13:02:16 -0400 Subject: [PATCH] Fix Control and Command Backward on mac os --- src/helpers/hotkeys/hotkeymap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers/hotkeys/hotkeymap.h b/src/helpers/hotkeys/hotkeymap.h index 9558c6c9..ecef801d 100644 --- a/src/helpers/hotkeys/hotkeymap.h +++ b/src/helpers/hotkeys/hotkeymap.h @@ -266,9 +266,9 @@ static QMap KEY_MAP = { static QMap MOD_MAP = { {Qt::Key_Shift, shiftKey}, {Qt::Key_Alt, optionKey}, - {Qt::Key_Control, controlKey}, + {Qt::Key_Meta, controlKey}, {Qt::Key_Option, optionKey}, - {Qt::Key_Meta, cmdKey}, + {Qt::Key_Control, cmdKey}, }; inline UKeyData QtKeyToMac(const UKeySequence &keySeq)