1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

Merge branch 'next' into amorale/OP-960_systemhealt_warning

This commit is contained in:
Richard Flay (Hyper) 2013-05-25 17:19:58 +09:30
commit 911352d8a7

View File

@ -32,6 +32,7 @@
#include "hwsettings.h"
#include <QDesktopServices>
#include <QUrl>
#include <QMessageBox>
ConfigRevoHWWidget::ConfigRevoHWWidget(QWidget *parent) : ConfigTaskWidget(parent)
@ -291,6 +292,7 @@ void ConfigRevoHWWidget::modemPortChanged(int index)
m_ui->cbTxPower->setVisible(true);
m_ui->lblInitFreq->setVisible(true);
m_ui->leInitFreq->setVisible(true);
QMessageBox::warning(this, tr("Warning"), tr("Activating the Radio requires an antenna be attached or modem damage will occur."));
} else {
m_ui->lblTxPower->setVisible(false);
m_ui->cbTxPower->setVisible(false);