1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Merge branch 'samguns/OP-XXXX_wizard_freeze_workaround' into rel-nano-15.05

This commit is contained in:
abeck70 2015-05-29 21:41:28 +10:00
commit 6b2d217efe
2 changed files with 4 additions and 1 deletions

View File

@ -49,6 +49,7 @@ void AutoUpdatePage::autoUpdate()
Q_ASSERT(uploader);
m_isUpdating = true;
uploader->autoUpdate(ui->eraseSettings->isChecked());
getWizard()->setRestartNeeded(true);
}
void AutoUpdatePage::updateStatus(uploader::ProgressStep status, QVariant value)

View File

@ -100,7 +100,9 @@ int SetupWizard::nextId() const
return PAGE_INPUT;
case CONTROLLER_NANO:
reboot();
if (isRestartNeeded()) {
reboot();
}
return PAGE_INPUT;
case CONTROLLER_OPLINK: