Browse Source

Merge pull request #2322 from DonLakeFlyer/RemoveModal

Don't pop modal dialog during boot sequence
QGC4.4
Don Gagne 10 years ago
parent
commit
ac81491cc1
  1. 2
      src/AutoPilotPlugins/AutoPilotPlugin.cc

2
src/AutoPilotPlugins/AutoPilotPlugin.cc

@ -63,7 +63,7 @@ void AutoPilotPlugin::_parametersReadyChanged(bool parametersReady)
if (parametersReady) { if (parametersReady) {
_recalcSetupComplete(); _recalcSetupComplete();
if (!_setupComplete) { if (!_setupComplete) {
QGCMessageBox::warning("Setup", "One or more vehicle components require setup prior to flight."); qgcApp()->showToolBarMessage("One or more vehicle components require setup prior to flight.");
// Take the user to Vehicle Summary // Take the user to Vehicle Summary
MainWindow::instance()->showSetupView(); MainWindow::instance()->showSetupView();

Loading…
Cancel
Save