SetEnabled not working ?
General and Desktop
2
Posts
1
Posters
1.8k
Views
1
Watching
-
I am seeing a very weird problem with a normal QPushbutton
@ ui->pb_1->setEnabled(enable);
qDebug() << "ui->pb_1->setEnabled(" << enable <<");" ;
QApplication::processEvents();
qDebug() << "pb is enabled: " << ui->pb_1->isEnabled();@output:
@ui->pb_1->setEnabled( true );
pb is enabled: false @pb_1 is generated by a .ui form
where could i be looking first ?
i have other forms where this works without a problem.