1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 14:34:57 -04:00

New channel marker signal handling. Applied to channel analyzer

This commit is contained in:
f4exb
2017-11-14 00:06:42 +01:00
parent cf9c7eb8bb
commit 7b8b492bdd
7 changed files with 146 additions and 83 deletions
+3 -2
View File
@@ -49,6 +49,7 @@ void BasicChannelSettingsDialog::on_colorBtn_clicked()
void BasicChannelSettingsDialog::accept()
{
m_channelMarker->blockSignals(true);
m_channelMarker->setTitle(ui->title->text());
if(m_color.isValid()) {
@@ -74,9 +75,9 @@ void BasicChannelSettingsDialog::accept()
udpPort = 9999;
}
m_channelMarker->setUDPSendPort(udpPort);
m_channelMarker->setFrequencyScaleDisplayType((ChannelMarker::frequencyScaleDisplay_t) ui->fScaleDisplayType->currentIndex());
m_channelMarker->blockSignals(false);
m_channelMarker->setUDPSendPort(udpPort); // activate signal on the last setting only
m_hasChanged = true;
QDialog::accept();