回答編集履歴
1
Update
test
CHANGED
@@ -3,6 +3,6 @@
|
|
3
3
|
def keyPressEvent(self, event):
|
4
4
|
key = event.key()
|
5
5
|
modifiers = event.modifiers()
|
6
|
-
if (modifiers & Qt.CTRL == modifiers and key == Qt.Key_C):
|
6
|
+
if (modifiers and modifiers & Qt.CTRL == modifiers and key == Qt.Key_C):
|
7
7
|
print("ggggg")
|
8
8
|
```
|