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 21f7ea3 commit e7927b4Copy full SHA for e7927b4
NodeGraphQt/widgets/viewer.py
@@ -366,9 +366,13 @@ def sceneMouseReleaseEvent(self, event):
366
event (QtWidgets.QGraphicsSceneMouseEvent):
367
The event handler from the QtWidgets.QGraphicsScene
368
"""
369
- # (NOTE) Please see commit message
370
- # if event.modifiers() == QtCore.Qt.ShiftModifier:
371
- # event.setModifiers(QtCore.Qt.ControlModifier)
+
+ # (NOTE) The `QtWidgets.QGraphicsSceneMouseEvent` class doesn't have
+ # `setModifiers` in PyQt, please see the note above.
372
+ """
373
+ if event.modifiers() == QtCore.Qt.ShiftModifier:
374
+ event.setModifiers(QtCore.Qt.ControlModifier)
375
376
377
if not self._live_pipe:
378
return
0 commit comments