| # | Line 73 | Line 73 | void SoundWizard::pageChanged(int pageId | |
|---|---|---|
| 73 | // Last page? | |
| 74 | if(pageId==4){ | |
| 75 | this->myWizard->setOption(QWizard::HaveCustomButton1, true); // set visible | |
| 76 | + | this->myWizard->button(QWizard::BackButton)->setEnabled(false); // disable back button, use restart if needed |
| 77 | return; | |
| 78 | } | |
| 79 | this->myWizard->setOption(QWizard::HaveCustomButton1, false); // set invisible | |
| 80 | + | this->myWizard->button(QWizard::BackButton)->setEnabled(true); // set enable back button |
| 81 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |