[PyQt] SIGABRT when setting QQmlListProperty
phil at riverbankcomputing.com
Fri Jan 13 22:24:49 GMT 2017
On 13 Jan 2017, at 6:06 pm, Cody Scott <cody at perspexis.com> wrote:
> I'm using @pyqtProperty(QtCore.QVariant) for the list property and it works as long as I do .toVariant() in the setter.
> One thing is that it calls the setter twice for each instance in this example. I believe it should only call each setter once.
If you comment in the test to see if the value has really changed then it seems to do as you expect.
More information about the PyQt