mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #912, static utility function lastStepSkipped for configuration wizard
This commit is contained in:
committed by
Mathew Sutcliffe
parent
d214739912
commit
3575eed37b
@@ -252,11 +252,7 @@ namespace BlackGui
|
||||
|
||||
bool CCopyConfigurationWizardPage::validatePage()
|
||||
{
|
||||
CConfigurationWizard *wizard = qobject_cast<CConfigurationWizard *>(this->wizard());
|
||||
Q_ASSERT_X(m_config, Q_FUNC_INFO, "Missing config");
|
||||
Q_ASSERT_X(wizard, Q_FUNC_INFO, "No wizard");
|
||||
|
||||
if (wizard->lastStepSkipped()) { return true; }
|
||||
if (CConfigurationWizard::lastWizardStepSkipped(this->wizard())) { return true; }
|
||||
m_config->copySelectedFiles();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user