Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d563e commit 1f93445Copy full SHA for 1f93445
lib/matplotlib/backends/backend_qt5.py
@@ -76,10 +76,10 @@
76
if sys.platform == 'darwin':
77
# in OSX, the control and super (aka cmd/apple) keys are switched, so
78
# switch them back.
79
- SPECIAL_KEYS.update({QtCore.Qt.Key_Control: 'super', # cmd/apple key
+ SPECIAL_KEYS.update({QtCore.Qt.Key_Control: 'cmd', # cmd/apple key
80
QtCore.Qt.Key_Meta: 'control',
81
})
82
- MODIFIER_KEYS[0] = ('super', QtCore.Qt.ControlModifier,
+ MODIFIER_KEYS[0] = ('cmd', QtCore.Qt.ControlModifier,
83
QtCore.Qt.Key_Control)
84
MODIFIER_KEYS[2] = ('ctrl', QtCore.Qt.MetaModifier,
85
QtCore.Qt.Key_Meta)
0 commit comments