mirror of https://github.com/saitohirga/WSJT-X.git
Fix the bug that colored all "bare CQ" messages (no grid) as new DXCCs.
This commit is contained in:
parent
2756303f08
commit
78dd580a9e
|
@ -178,13 +178,12 @@ QString DisplayText::appendWorkedB4(QString message, QString const& callsign, QS
|
||||||
if(call.length()<3) return message;
|
if(call.length()<3) return message;
|
||||||
if(!call.contains(QRegExp("[0-9]|[A-Z]"))) return message;
|
if(!call.contains(QRegExp("[0-9]|[A-Z]"))) return message;
|
||||||
|
|
||||||
if(grid=="") {
|
|
||||||
gridB4=true;
|
|
||||||
gridB4onBand=true;
|
|
||||||
} else {
|
|
||||||
logBook.match(/*in*/call,grid,/*out*/countryName,callWorkedBefore,countryWorkedBefore,gridB4);
|
logBook.match(/*in*/call,grid,/*out*/countryName,callWorkedBefore,countryWorkedBefore,gridB4);
|
||||||
logBook.match(/*in*/call,grid,/*out*/countryName,callB4onBand,countryB4onBand,gridB4onBand,
|
logBook.match(/*in*/call,grid,/*out*/countryName,callB4onBand,countryB4onBand,gridB4onBand,
|
||||||
/*in*/ currentBand);
|
/*in*/ currentBand);
|
||||||
|
if(grid=="") {
|
||||||
|
gridB4=true;
|
||||||
|
gridB4onBand=true;
|
||||||
}
|
}
|
||||||
|
|
||||||
message = message.trimmed ();
|
message = message.trimmed ();
|
||||||
|
|
Loading…
Reference in New Issue