[PyQt] SIGABRT when setting QQmlListProperty
cody at perspexis.com
Sat Jan 14 03:26:59 GMT 2017
That's true but it seems like something that should not be happening.
On Fri, Jan 13, 2017 at 5:24 PM, Phil Thompson <phil at riverbankcomputing.com>
> 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.
> > https://gist.github.com/Siecje/d1f2b270305762b4f73540c72adee6b8
> If you comment in the test to see if the value has really changed then it
> seems to do as you expect.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt