ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/s10k/Vago/soundWizard/soundwizard.cpp
(Generate patch)

Comparing Vago/trunk/Vago/soundWizard/soundwizard.cpp (file contents):
Revision 771 by s10k, Sun Mar 31 19:02:16 2013 UTC vs.
Revision 789 by s10k, Thu Apr 4 14:46:11 2013 UTC

# 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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)