On Tue, May 02, 2017 at 08:21:41PM +1200, Frank Rueter | OHUfx wrote: > Hi all, > > I just ran int this issue where I'm trying to fill a model via QRunnable, > but when I do so, it seems to add extra rows for some mysterious reasons. > If I run the respective process in in the main thread I get the expected > results. > Can somebody please help? > Test code attached.
Your model needs to be modified from the main thread: http://blog.hostilefork.com/qt-model-view-different-threads/ Florian -- https://www.qutebrowser.org | [email protected] (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/
signature.asc
Description: PGP signature
_______________________________________________ PySide mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/pyside
