Erik Janssens
Fri, 27 Aug 2010 08:14:57 -0700
Hi, We are switching our codebase to new style signal/slot and this is a strange issue.
When connecting a QComboBox currentIndexChanged signal to
a slot :
def granularity_changed(self, idx):
granularity = self.sender().get_value()
sender returns the right object, however, when using
the pyqtSlot decorator :
@QtCore.pyqtSlot(int)
def granularity_changed(self, idx):
granularity = self.sender().get_value()
sender returns None.
Is this a known issue ? If so, can anybody shed some light
on the reasoning behind this ?
Thx,
Erik
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt