ui->waitingLabel is deleted and set to NULL when mode is PX4. Must check for NULL before using it.
Attach a file by drag & drop or click to upload