Commit eeb5944c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix enable/disable next button

parent 7d2872ec
......@@ -91,9 +91,9 @@ void ImportImapSettingWizard::initializeWizard()
//Initialize list
mSearchPage->setProgramList(mListCheckJob.keys());
setAppropriate(mNoFoundPageItem, false);
setAppropriate(mSearchPageItem, true);
setAppropriate(mProgressPageItem, true);
setAppropriate(mFinishPageItem, true);
setAppropriate(mSearchPageItem, false);
setAppropriate(mProgressPageItem, false);
setAppropriate(mFinishPageItem, false);
setCurrentPage(mSearchPageItem);
} else {
setAppropriate(mNoFoundPageItem, true);
......@@ -102,12 +102,13 @@ void ImportImapSettingWizard::initializeWizard()
setAppropriate(mFinishPageItem, false);
setCurrentPage(mNoFoundPageItem);
}
nextButton()->setEnabled(false);
}
void ImportImapSettingWizard::slotNeedToImportSettings(bool b)
{
nextButton()->setEnabled(b);
setAppropriate(mSearchPageItem, b);
setAppropriate(mProgressPageItem, b);
setAppropriate(mFinishPageItem, b);
}
void ImportImapSettingWizard::next()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment