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:
commit
6b2d217efe
@ -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)
|
||||
|
@ -100,7 +100,9 @@ int SetupWizard::nextId() const
|
||||
return PAGE_INPUT;
|
||||
|
||||
case CONTROLLER_NANO:
|
||||
reboot();
|
||||
if (isRestartNeeded()) {
|
||||
reboot();
|
||||
}
|
||||
return PAGE_INPUT;
|
||||
|
||||
case CONTROLLER_OPLINK:
|
||||
|
Loading…
Reference in New Issue
Block a user