Fixed highlighting when my call apprears in the band activity
This commit is contained in:
parent
0722bdad52
commit
1181e68f27
@ -10054,7 +10054,11 @@ void MainWindow::displayBandActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool isDirectedAllCall = false;
|
bool isDirectedAllCall = false;
|
||||||
if (isDirectedOffset(offset, &isDirectedAllCall) && !isDirectedAllCall) {
|
// TODO: jsherer - there's a potential here for a previous allcall o poison the highlight.
|
||||||
|
if (
|
||||||
|
(isDirectedOffset(offset, &isDirectedAllCall) && !isDirectedAllCall) ||
|
||||||
|
(text.last().contains(Radio::base_callsign(m_config.my_callsign())))
|
||||||
|
) {
|
||||||
offsetItem->setBackground(QBrush(m_config.color_MyCall()));
|
offsetItem->setBackground(QBrush(m_config.color_MyCall()));
|
||||||
ageItem->setBackground(QBrush(m_config.color_MyCall()));
|
ageItem->setBackground(QBrush(m_config.color_MyCall()));
|
||||||
snrItem->setBackground(QBrush(m_config.color_MyCall()));
|
snrItem->setBackground(QBrush(m_config.color_MyCall()));
|
||||||
|
Loading…
Reference in New Issue
Block a user