[PyQt] signal twice emit
Csaba Toth
csaba.toth at i3rendszerhaz.hu
Tue Jun 29 14:06:31 BST 2010
Hi,
i have a problem with recent PyQt versions, sometimes a signal (what i
saw was with button click signal) emitted twice.
for example i use this:
def p(self, clicked=False):
print('emitted')
self.connect(self.btn_save, QtCore.SIGNAL("clicked(bool)"), self.p)
and if i press the button it wrotes twice the 'emitted' to console.
What i make wrong?
thanks in advance,
Csaba
More information about the PyQt
mailing list