From a5714903acb250481a987f3e352680b7a66403b5 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Fri, 27 Jun 2025 18:29:15 +0530 Subject: [PATCH] =?UTF-8?q?Fixed=20an=20issue=20where=20the=20Query=20Tool?= =?UTF-8?q?=E2=80=99s=20'Edit=20Options'=20menu=20was=20unresponsive=20whe?= =?UTF-8?q?n=20clicked.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tools/sqleditor/static/js/components/sections/Query.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/pgadmin/tools/sqleditor/static/js/components/sections/Query.jsx b/web/pgadmin/tools/sqleditor/static/js/components/sections/Query.jsx index 5b25c632a..8ddc4dd46 100644 --- a/web/pgadmin/tools/sqleditor/static/js/components/sections/Query.jsx +++ b/web/pgadmin/tools/sqleditor/static/js/components/sections/Query.jsx @@ -323,13 +323,13 @@ export default function Query({onTextSelect, setQtStatePartial}) { // this function creates a key object from the shortcut preference let key = { keyCode: pref.key.key_code, - metaKey: pref.ctrl_is_meta, + metaKey: false, ctrlKey: pref.control, shiftKey: pref.shift, altKey: pref.alt, }; - if(isMac()) { - key.metaKey = true; + if(isMac() && pref.ctrl_is_meta) { + key.metaKey = pref.control; key.ctrlKey = false; } return key;