Commit 2f371ac8 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Dont transform RectF to Rect

parent 5c1da643
...@@ -1094,7 +1094,7 @@ class SDL_Scene(QtGui.QGraphicsScene, object): ...@@ -1094,7 +1094,7 @@ class SDL_Scene(QtGui.QGraphicsScene, object):
# pylint: disable=C0103 # pylint: disable=C0103
def mouseReleaseEvent(self, event): def mouseReleaseEvent(self, event):
if self.mode == 'select_items': if self.mode == 'select_items':
for item in self.items(self.select_rect.rect().toRect(), for item in self.items(self.select_rect.rect(),
mode=Qt.ContainsItemBoundingRect): mode=Qt.ContainsItemBoundingRect):
try: try:
item.select() item.select()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment