mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-02 19:29:15 +01:00
Merge branch 'samguns/OP-XXXX_wizard_freeze_workaround' into rel-nano-15.05
This commit is contained in:
commit
6b2d217efe
@ -49,6 +49,7 @@ void AutoUpdatePage::autoUpdate()
|
|||||||
Q_ASSERT(uploader);
|
Q_ASSERT(uploader);
|
||||||
m_isUpdating = true;
|
m_isUpdating = true;
|
||||||
uploader->autoUpdate(ui->eraseSettings->isChecked());
|
uploader->autoUpdate(ui->eraseSettings->isChecked());
|
||||||
|
getWizard()->setRestartNeeded(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoUpdatePage::updateStatus(uploader::ProgressStep status, QVariant value)
|
void AutoUpdatePage::updateStatus(uploader::ProgressStep status, QVariant value)
|
||||||
|
@ -100,7 +100,9 @@ int SetupWizard::nextId() const
|
|||||||
return PAGE_INPUT;
|
return PAGE_INPUT;
|
||||||
|
|
||||||
case CONTROLLER_NANO:
|
case CONTROLLER_NANO:
|
||||||
reboot();
|
if (isRestartNeeded()) {
|
||||||
|
reboot();
|
||||||
|
}
|
||||||
return PAGE_INPUT;
|
return PAGE_INPUT;
|
||||||
|
|
||||||
case CONTROLLER_OPLINK:
|
case CONTROLLER_OPLINK:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user