[solved[ Pyside crashing when connecting the currentChanged signal of the model
-
Not sure how to delete a post, so I'll edit it. I ran into this I guess. https://bugreports.qt-project.org/browse/PYSIDE-79
Hello all,
I did not see a python specific forum, I apologize if this is not the right place for this question.
I cant get the combination of a QSortFilterProxyModel and selectionModel to work, it crashes my script.
If I take the example: http://qt.gitorious.org/pyside/pyside-examples/blobs/master/examples/itemviews/basicsortfiltermodel.py
and add:
@self.proxyView.selectionModel().currentChanged.connect(self.handleSelectionChanged)@
to the init()
and use:
@def handleSelectionChanged(self, current, previous):
print 'hello'@as the callback, the script keeps crashing on me. Is this expected behavior?
Any information would be appreciated.
Koen-