mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
NFM demod: hide use RTP button if audio sink is not RTP capable
This commit is contained in:
parent
2b846f5d28
commit
66ddd6faa8
@ -320,7 +320,10 @@ NFMDemodGUI::NFMDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban
|
||||
|
||||
QChar delta = QChar(0x94, 0x03);
|
||||
ui->deltaSquelch->setText(delta);
|
||||
ui->useRTP->setEnabled(m_nfmDemod->isAudioNetSinkRTPCapable());
|
||||
|
||||
if (!m_nfmDemod->isAudioNetSinkRTPCapable()) {
|
||||
ui->useRTP->hide();
|
||||
}
|
||||
|
||||
connect(getInputMessageQueue(), SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user