[PyQt] Access Python QObject from QML fails to convert on second call
Phil Thompson
phil at riverbankcomputing.com
Thu May 19 19:15:28 BST 2016
On 19 May 2016, at 7:05 pm, Fabian Sturm <f at rtfs.org> wrote:
>
> Hello Phil!
>
> Thanks for looking into my code. Unfortunately your suggestion did not
> help me. I still see the error. I just updated the code on github with
> your suggested change. Changing between different values in the
> combobox for a couple of times still triggers the bug :-(
>
> Changed source:
>
> NameRole = Qt.UserRole + 1
> _roles = {
> NameRole: b"name",
> }
>
> Can you see the problem too?
No.
Phil
More information about the PyQt
mailing list