8000 Add Caps Lock key to Qt backend SPECIAL_KEY dictionary · matplotlib/matplotlib@0f9ab5e · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f9ab5e

Browse files
Alejandro Garcíatacaswell
authored andcommitted
Add Caps Lock key to Qt backend SPECIAL_KEY dictionary
1 parent 0da9d1e commit 0f9ab5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/backends/backend_qt5.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
QtCore.Qt.Key_Meta: 'meta',
2929
QtCore.Qt.Key_Super_L: 'super',
3030
QtCore.Qt.Key_Super_R: 'super',
31+
QtCore.Qt.Key_CapsLock: 'caps_lock',
3132
QtCore.Qt.Key_Return: 'enter',
3233
QtCore.Qt.Key_Left: 'left',
3334
QtCore.Qt.Key_Up: 'up',

0 commit comments

Comments
 (0)
0