Add Doppler to displayed text lines in Echo mode. Enable RIT spinner when DopplerMethod is None.

This commit is contained in:
Joe Taylor
2022-07-28 11:00:47 -04:00
parent d4ed6785fb
commit 2e82ce4546
2 changed files with 7 additions and 6 deletions
+1 -2
View File
@@ -167,6 +167,7 @@ auto Astro::astroUpdate(QDateTime const& t, QString const& mygrid, QString const
correction.width=width2;
}
if (ui_->cbDopplerTracking->isChecked ()) {
ui_->sbRIT->setEnabled(m_DopplerMethod==0);
switch (m_DopplerMethod)
{
case 1: // All Doppler correction done here; DX station stays at nominal dial frequency.
@@ -361,10 +362,8 @@ void Astro::selectOnDxEcho()
qint32 Astro::nfRIT()
{
if(m_DopplerMethod==0) {
ui_->sbRIT->setEnabled(true);
return ui_->sbRIT->value();
} else {
ui_->sbRIT->setEnabled(false);
return 0;
}
}