Commit 5ebb3ed2 authored by dogmaphobic's avatar dogmaphobic

Merge remote-tracking branch 'mavlink/master' into issue1185

Sync work branch.
parents 77f442fd 28b6c070
...@@ -120,7 +120,7 @@ void SetupView::_setConnectedView(void) ...@@ -120,7 +120,7 @@ void SetupView::_setConnectedView(void)
void SetupView::_firmwareButtonClicked(void) void SetupView::_firmwareButtonClicked(void)
{ {
if (_uasCurrent->isArmed()) { if (_uasCurrent && _uasCurrent->isArmed()) {
QGCMessageBox::warning("Setup", "Firmware Update cannot be performed while vehicle is armed."); QGCMessageBox::warning("Setup", "Firmware Update cannot be performed while vehicle is armed.");
return; return;
} }
......
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