Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
None
-
9c4140af1cbc650905de698daa4ab0183efba477
Description
Once a MouseArea has had a drag.target set, it cannot be retracted.
This means for example that this code does not work
drag.target: (draggable.state == "dragged") ? draggable : undefined
The result of the above is
Unable to assign [undefined] to QGraphicsObject*
Same is true if replacing "undefined" by "null" above.