Same exact problem as this: Connecting QTableView selectionChanged signal produces segfault with PyQt
I have a QListView, and I want to call a function when an item
Same problem here: http://permalink.gmane.org/gmane.comp.lib.qt.pyside.devel/541
And I also answered: http://permalink.gmane.org/gmane.comp.lib.qt.pyside.devel/542
I suspect what happens is:
self.server_list # local object
.selectionModel() # call C++ method, wraps C++ object in Python object
.selectionChanged # get property of object
# selection model is now out of scope and gets garbage collected
.connect(...) # OOPS! ...operating on object that no longer exists!