Skip to content

Commit a8fa9b3

Browse files
authored
Merge pull request #436 from jdrese/master
Fixed another quick API change of Qt6 on mouse selection rectangle
2 parents bbff219 + 7890698 commit a8fa9b3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

NodeGraphQt/widgets/viewer.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,9 +616,7 @@ def mouseMoveEvent(self, event):
616616
path = QtGui.QPainterPath()
617617
path.addRect(map_rect)
618618
self._rubber_band.setGeometry(rect)
619-
self.scene().setSelectionArea(
620-
path, QtCore.Qt.IntersectsItemShape
621-
)
619+
self.scene().setSelectionArea(path)
622620
self.scene().update(map_rect)
623621

624622
if self.SHIFT_state or self.CTRL_state:

0 commit comments

Comments
 (0)