Commit e00c0f69 authored by Don Gagne's avatar Don Gagne

Restart auto connect on cancel/error

parent 35b7896f
...@@ -568,6 +568,7 @@ void FirmwareUpgradeController::_errorCancel(const QString& msg) ...@@ -568,6 +568,7 @@ void FirmwareUpgradeController::_errorCancel(const QString& msg)
_appendStatusLog("------------------------------------------", false); _appendStatusLog("------------------------------------------", false);
emit error(); emit error();
cancel(); cancel();
qgcApp()->toolbox()->linkManager()->setConnectionsAllowed();
} }
void FirmwareUpgradeController::_eraseStarted(void) void FirmwareUpgradeController::_eraseStarted(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment