Woops, remove the label-proxy, not the widget..
parent
263a5a8d07
commit
e33d6333ec
|
@ -600,5 +600,10 @@ class SelectRect(QtWidgets.QGraphicsRectItem):
|
||||||
'''
|
'''
|
||||||
scen: QGraphicsScene = self.scene()
|
scen: QGraphicsScene = self.scene()
|
||||||
scen.removeItem(self)
|
scen.removeItem(self)
|
||||||
if self._label:
|
if (
|
||||||
scen.removeItem(self._label)
|
self._label
|
||||||
|
and
|
||||||
|
self._label_proxy
|
||||||
|
|
||||||
|
):
|
||||||
|
scen.removeItem(self._label_proxy)
|
||||||
|
|
Loading…
Reference in New Issue