I have created QPushButton and make connection to a specific task. In addition to this task, I
would like to diable this pushbutton. Thus I add the following line just before the task but it won't work as I expected. The button is diabled after my task is done.
I have run my taskCode:mypushbutton.setEnabled(False)
However when I remove my task. it work.
What is the problem hereCode:mypushbutton.setEnabled(False)