1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Perseus: set frequency dial to 5 digits when not in transverter mode

This commit is contained in:
f4exb 2022-11-05 19:09:39 +01:00
parent f5b91fff53
commit ba76cb03cc

View File

@ -244,9 +244,9 @@ void PerseusGui::updateFrequencyLimits()
}
else
{
minLimit = minLimit < 0 ? 0 : minLimit > 9999999 ? 9999999 : minLimit;
maxLimit = maxLimit < 0 ? 0 : maxLimit > 9999999 ? 9999999 : maxLimit;
ui->centerFrequency->setValueRange(7, minLimit, maxLimit);
minLimit = minLimit < 0 ? 0 : minLimit > 99999 ? 99999 : minLimit;
maxLimit = maxLimit < 0 ? 0 : maxLimit > 99999 ? 99999 : maxLimit;
ui->centerFrequency->setValueRange(5, minLimit, maxLimit);
}
qDebug("PerseusGui::updateFrequencyLimits: delta: %lld min: %lld max: %lld", deltaFrequency, minLimit, maxLimit);
}