Commit 39349c94 authored by Don Gagne's avatar Don Gagne

Restart auto connect on cancel/error

parent df0248f0
...@@ -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