Qt.py icon indicating copy to clipboard operation
Qt.py copied to clipboard

when i load ui many times in maya is often have error has no attribute "changeEvent"

Open wblion opened this issue 7 years ago • 2 comments

when i load ui many times in maya is often have error 'has no attribute "changeEvent"' . somtimes maya crash.

wblion avatar Feb 09 '18 03:02 wblion

I'd recommend trying this in your ui class. It should fix that issue.

setAttribute(QtCore.Qt.WA_DeleteOnClose)

http://discourse.techart.online/t/maya-pyside-random-crashes/4450

chrisdevito avatar Feb 23 '18 17:02 chrisdevito

We need a reproducible for this. Something we can run on our end to see the issue for ourselves. Also don't forget to include your platform (e.g. Windows) and version of Maya.

mottosso avatar Mar 15 '18 12:03 mottosso