mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-03-31 16:48:29 -04:00
DATV demod: fixed incorrect frequency update when spectrum point and click is used. Fixes issue #637
This commit is contained in:
parent
880ea202a8
commit
7780435cba
plugins/channelrx/demoddatv
@ -130,12 +130,8 @@ void DATVDemodGUI::handleInputMessages()
|
||||
void DATVDemodGUI::channelMarkerChangedByCursor()
|
||||
{
|
||||
ui->deltaFrequency->setValue(m_objChannelMarker.getCenterFrequency());
|
||||
|
||||
if(m_intCenterFrequency!=m_objChannelMarker.getCenterFrequency())
|
||||
{
|
||||
m_intCenterFrequency=m_objChannelMarker.getCenterFrequency();
|
||||
applySettings();
|
||||
}
|
||||
m_settings.m_centerFrequency = m_objChannelMarker.getCenterFrequency();
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void DATVDemodGUI::channelMarkerHighlightedByCursor()
|
||||
@ -719,4 +715,4 @@ void DATVDemodGUI::on_udpTSPort_editingFinished()
|
||||
m_settings.m_udpTSPort = udpPort;
|
||||
ui->udpTSPort->setText(tr("%1").arg(udpPort));
|
||||
applySettings();
|
||||
}
|
||||
}
|
||||
|
@ -105,7 +105,6 @@ private:
|
||||
ChannelMarker m_objChannelMarker;
|
||||
DATVDemod* m_objDATVDemod;
|
||||
MessageQueue m_inputMessageQueue;
|
||||
int m_intCenterFrequency;
|
||||
DATVDemodSettings m_settings;
|
||||
|
||||
QTimer m_objTimer;
|
||||
|
@ -30,7 +30,7 @@ const PluginDescriptor DATVDemodPlugin::m_ptrPluginDescriptor =
|
||||
{
|
||||
DATVDemod::m_channelId,
|
||||
QString("DATV Demodulator"),
|
||||
QString("4.15.4"),
|
||||
QString("4.16.2"),
|
||||
QString("(c) F4HKW for SDRAngel using LeanSDR framework (c) F4DAV"),
|
||||
QString("https://github.com/f4exb/sdrangel"),
|
||||
true,
|
||||
|
Loading…
Reference in New Issue
Block a user