Select band by wavelength only if a working frequency is available

This commit is contained in:
Bill Somerville 2020-09-01 17:32:22 +01:00
parent b539248624
commit a00473fa9c
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -54,7 +54,7 @@ void LiveFrequencyValidator::fixup (QString& input) const
input = input.toLower ();
QVector<QVariant> frequencies;
for (auto const& item : frequencies_->frequency_list ())
for (auto const& item : *frequencies_)
{
if (bands_->find (item.frequency_) == input)
{