mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #906, wizard improvements
* fixed text * only init copy wizard when using "back" button
This commit is contained in:
committed by
Mathew Sutcliffe
parent
2b50fe1fdb
commit
9ee0b173c6
@@ -63,16 +63,15 @@ namespace BlackGui
|
||||
const bool skipped = m_skipped;
|
||||
m_previousId = id; // update
|
||||
m_skipped = false; // reset
|
||||
Q_UNUSED(backward);
|
||||
Q_UNUSED(skipped);
|
||||
|
||||
const QWizardPage *page = this->currentPage();
|
||||
if (page == ui->wp_CopyCaches)
|
||||
if (backward && page == ui->wp_CopyCaches)
|
||||
{
|
||||
ui->comp_CopyCaches->setCacheMode();
|
||||
ui->comp_CopyCaches->initCurrentDirectories(true);
|
||||
}
|
||||
else if (page == ui->wp_CopySettings)
|
||||
else if (backward && page == ui->wp_CopySettings)
|
||||
{
|
||||
ui->comp_CopySettings->setSettingsMode();
|
||||
ui->comp_CopySettings->initCurrentDirectories(true);
|
||||
|
||||
Reference in New Issue
Block a user