mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-28 15:56:33 -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
@ -130,12 +130,8 @@ void DATVDemodGUI::handleInputMessages()
|
|||||||
void DATVDemodGUI::channelMarkerChangedByCursor()
|
void DATVDemodGUI::channelMarkerChangedByCursor()
|
||||||
{
|
{
|
||||||
ui->deltaFrequency->setValue(m_objChannelMarker.getCenterFrequency());
|
ui->deltaFrequency->setValue(m_objChannelMarker.getCenterFrequency());
|
||||||
|
m_settings.m_centerFrequency = m_objChannelMarker.getCenterFrequency();
|
||||||
if(m_intCenterFrequency!=m_objChannelMarker.getCenterFrequency())
|
applySettings();
|
||||||
{
|
|
||||||
m_intCenterFrequency=m_objChannelMarker.getCenterFrequency();
|
|
||||||
applySettings();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DATVDemodGUI::channelMarkerHighlightedByCursor()
|
void DATVDemodGUI::channelMarkerHighlightedByCursor()
|
||||||
@ -719,4 +715,4 @@ void DATVDemodGUI::on_udpTSPort_editingFinished()
|
|||||||
m_settings.m_udpTSPort = udpPort;
|
m_settings.m_udpTSPort = udpPort;
|
||||||
ui->udpTSPort->setText(tr("%1").arg(udpPort));
|
ui->udpTSPort->setText(tr("%1").arg(udpPort));
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
@ -105,7 +105,6 @@ private:
|
|||||||
ChannelMarker m_objChannelMarker;
|
ChannelMarker m_objChannelMarker;
|
||||||
DATVDemod* m_objDATVDemod;
|
DATVDemod* m_objDATVDemod;
|
||||||
MessageQueue m_inputMessageQueue;
|
MessageQueue m_inputMessageQueue;
|
||||||
int m_intCenterFrequency;
|
|
||||||
DATVDemodSettings m_settings;
|
DATVDemodSettings m_settings;
|
||||||
|
|
||||||
QTimer m_objTimer;
|
QTimer m_objTimer;
|
||||||
|
@ -30,7 +30,7 @@ const PluginDescriptor DATVDemodPlugin::m_ptrPluginDescriptor =
|
|||||||
{
|
{
|
||||||
DATVDemod::m_channelId,
|
DATVDemod::m_channelId,
|
||||||
QString("DATV Demodulator"),
|
QString("DATV Demodulator"),
|
||||||
QString("4.15.4"),
|
QString("4.16.2"),
|
||||||
QString("(c) F4HKW for SDRAngel using LeanSDR framework (c) F4DAV"),
|
QString("(c) F4HKW for SDRAngel using LeanSDR framework (c) F4DAV"),
|
||||||
QString("https://github.com/f4exb/sdrangel"),
|
QString("https://github.com/f4exb/sdrangel"),
|
||||||
true,
|
true,
|
||||||
|
Loading…
Reference in New Issue
Block a user