forked from qt-creator/qt-creator
Fix replacement of variables in wizard parameters.
This was broken in case of no targets page being used, and using the project name variable in default values for wizard parameters in the page following the intro page (like it is done in the hello world wizard). Reviewed-by: Friedemann Kleint
This commit is contained in:
@@ -337,6 +337,12 @@ WizardProgress *Wizard::wizardProgress() const
|
||||
return d->m_wizardProgress;
|
||||
}
|
||||
|
||||
bool Wizard::validateCurrentPage()
|
||||
{
|
||||
emit nextClicked();
|
||||
return QWizard::validateCurrentPage();
|
||||
}
|
||||
|
||||
void Wizard::_q_currentPageChanged(int pageId)
|
||||
{
|
||||
Q_D(Wizard);
|
||||
|
||||
Reference in New Issue
Block a user