diff --git a/mainwindow.cpp b/mainwindow.cpp index 3c812f5..d30b2ab 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -7544,7 +7544,17 @@ void MainWindow::postDecode (bool is_new, QString const& message) auto now = QDateTime::currentDateTimeUtc(); clearTableWidget(ui->tableWidgetRXAll); QList keys = m_bandActivity.keys(); - qSort(keys.begin(), keys.end()); + + qSort(keys.begin(), keys.end(), [this](const int left, int right){ + if(m_rxDirectedCache.contains(left/10*10)){ + return true; + } + if(m_rxDirectedCache.contains(right/10*10)){ + return false; + } + return left < right; + }); + foreach (int offset, keys) { QList items = m_bandActivity[offset]; if(items.length() > 0){