From 2fde74d255baaa62b4582bd78ce35b6b95e783e6 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 14 Aug 2019 16:19:10 -0700 Subject: [PATCH] Turn on popup errors for mobile builds --- src/QGCApplication.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/QGCApplication.cc b/src/QGCApplication.cc index 109b5ab0a..f079d2524 100644 --- a/src/QGCApplication.cc +++ b/src/QGCApplication.cc @@ -478,6 +478,12 @@ bool QGCApplication::_initForNormalAppBoot(void) #ifdef __mobile__ _qmlAppEngine = toolbox()->corePlugin()->createRootWindow(this); + + // Safe to show popup error messages now that main window is created + UASMessageHandler* msgHandler = qgcApp()->toolbox()->uasMessageHandler(); + if (msgHandler) { + msgHandler->showErrorsInToolbar(); + } #else // Start the user interface MainWindow* mainWindow = MainWindow::_create(); -- 2.22.0