Manually deleted widget from Uİ now new ones does not work
Solved
General and Desktop
-
Hello, I have put a a checkbox in the UI then deleted it from UI and from header. Now I want to place a new checkbox I put it in the UI and create slot for it:
void MainWindow::on_checkBox_3_stateChanged(int arg1) { if(ui->checkBox_3->isChecked()){ qDebug()<<"Pressed."; } }
It never enters to if statement. I believe I broke something up while I was trying to remove the previous checkbox. How can I fix it any suggestions?
-
Hello, I have put a a checkbox in the UI then deleted it from UI and from header. Now I want to place a new checkbox I put it in the UI and create slot for it:
void MainWindow::on_checkBox_3_stateChanged(int arg1) { if(ui->checkBox_3->isChecked()){ qDebug()<<"Pressed."; } }
It never enters to if statement. I believe I broke something up while I was trying to remove the previous checkbox. How can I fix it any suggestions?