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):
# pylint: disable=C0103
def mouseReleaseEvent(self, event):
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):
try:
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