public inbox for [email protected]  
help / color / mirror / Atom feed
From: Aditya Toshniwal <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM3999] SQL Editor - Upper case shortcut on MacOS
Date: Fri, 1 Nov 2019 10:07:46 +0530
Message-ID: <CAM9w-_m=xdJSV0OUA_VEdKFHBXdCY8iuPze6yUJdEFR4czV=5Q@mail.gmail.com> (raw)

Hi Hackers,

Attached is a tiny patch to fix keyboard shortcut for toggle case.
Kindly review.

-- 
Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


Attachments:

  [application/octet-stream] RM3999.patch (563B, 3-RM3999.patch)
  download | inline diff:
diff --git a/web/pgadmin/tools/sqleditor/utils/query_tool_preferences.py b/web/pgadmin/tools/sqleditor/utils/query_tool_preferences.py
index 079f9e720..c465598b2 100644
--- a/web/pgadmin/tools/sqleditor/utils/query_tool_preferences.py
+++ b/web/pgadmin/tools/sqleditor/utils/query_tool_preferences.py
@@ -641,7 +641,7 @@ def RegisterQueryToolPreferences(self):
             'shift': True,
             'control': True,
             'key': {
-                'key_code': 91,
+                'key_code': 85,
                 'char': 'u'
             }
         },


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [pgAdmin][RM3999] SQL Editor - Upper case shortcut on MacOS
  In-Reply-To: <CAM9w-_m=xdJSV0OUA_VEdKFHBXdCY8iuPze6yUJdEFR4czV=5Q@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox