On Fri, 25 Jun 2010 00:24:59 +0200, Albert Cervera i Areny <[email protected]> wrote: > A Diumenge, 20 de juny de 2010, Albert Cervera i Areny va escriure: >> We're changing an application from using old-style 'connect(SIGNAL() >> SLOT())' functions to new-style 'signal.connect( slot )' ones but it >> seems that executing 'self.sender()' in the slot doesn't have the same >> behaviour as it used to because it always returns None. >> >> Is there a way to know who called the slot with new-style signal and >> slot? > > The attached file demonstrates the problem. sender() function doesn't work > if > signal is emited using the new-style signal.emit() and the slot is > decorated > using @pyqtSlot()
Should be fixed in tonight's PyQt snapshot. Thanks, Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
