This code is not working when the checkbox is checked.Code:void MainWindow::runButtonClicked() { if (MainWindow::betAllRed->isChecked()==true){ test.didBet=true;
The above if condition is not working, the "else" statement is executing, what is the wrong with my code, Please give the soliution
Bookmarks