diff options
author | Blaine | 2020-06-12 22:00:19 +0530 |
---|---|---|
committer | Blaine | 2020-06-12 22:00:19 +0530 |
commit | 635578dbb93d635de80f5cb38efa5d6eb837ca51 (patch) | |
tree | 805b6cc807f03aea93eb301441934d2227a80e51 /src/main/python/main.py | |
parent | d3bb58bc5d77b02d2102c6a59151cff6beee662f (diff) | |
download | Chemical-PFD-635578dbb93d635de80f5cb38efa5d6eb837ca51.tar.gz Chemical-PFD-635578dbb93d635de80f5cb38efa5d6eb837ca51.tar.bz2 Chemical-PFD-635578dbb93d635de80f5cb38efa5d6eb837ca51.zip |
weird keyboard shotcut fixed
Diffstat (limited to 'src/main/python/main.py')
-rw-r--r-- | src/main/python/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/python/main.py b/src/main/python/main.py index 9def7fb..1869067 100644 --- a/src/main/python/main.py +++ b/src/main/python/main.py @@ -184,7 +184,7 @@ class appWindow(QMainWindow): #Key input handler def keyPressEvent(self, event): #overload key press event for custom keyboard shortcuts - if event.modifiers() and Qt.ControlModifier: + if event.modifiers() & Qt.ControlModifier: if event.key() == Qt.Key_N: self.newProject() |