PDA

View Full Version : [QT4][Python]menu/Connexion



tsic
May 13th, 2008, 09:38 AM
Hello,
I program an interface customer with PYTHON2.5 AND QT4.In my interface there is a button to send messages.In the debuginning I put it: " self.ui.button_send.setEnabled (False) " As soon as the customer is connected to the server (from a menu) the button changes : " self.ui.buton_send.setEnabled (True) " This action causes me an interuption of connection. I don't know why????

How to fix it?
Thank you for help

xelapond
May 13th, 2008, 06:16 PM
I take it you are using PyQt4? Would you mind posting your code so we can look at it? It is unlikely this one line is the reason for the problem.