File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ def __init__(self):
263263 stateWhenDisabled = False )
264264
265265 gui .vBox (self .mainArea , addSpace = True )
266- self .box_scene = QGraphicsScene ()
266+ self .box_scene = QGraphicsScene (self )
267267 self .box_scene .selectionChanged .connect (self .commit )
268268 self .box_view = QGraphicsView (self .box_scene )
269269 self .box_view .setRenderHints (QPainter .Antialiasing |
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ def __init__(self):
8989 self .itemsets = OrderedDict ()
9090
9191 # Main area view
92- self .scene = QGraphicsScene ()
92+ self .scene = QGraphicsScene (self )
9393 self .view = QGraphicsView (self .scene )
9494 self .view .setRenderHint (QPainter .Antialiasing )
9595 self .view .setBackgroundRole (QPalette .Window )
You can’t perform that action at this time.
0 commit comments