Fixed an issue where the Query Tool’s 'Edit Options' menu was unresponsive when clicked.

pull/8902/head REL-9_5
Akshay Joshi 2025-06-27 18:29:15 +05:30
parent dd0c0cd3e1
commit a5714903ac
1 changed files with 3 additions and 3 deletions

View File

@ -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;