mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-02 13:17:49 -04:00
Highlight decodes with MyCall, even if in <...> brackets.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6920 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
7445b89101
commit
4f79e15576
@ -155,11 +155,13 @@ void DisplayText::displayDecodedText(DecodedText decodedText, QString myCall,
|
|||||||
bg=color_CQ.name();
|
bg=color_CQ.name();
|
||||||
}
|
}
|
||||||
if (myCall != "" and (
|
if (myCall != "" and (
|
||||||
decodedText.indexOf (" " + myCall + " ") >= 0
|
decodedText.indexOf (" " + myCall + " ") >= 0
|
||||||
or decodedText.indexOf (" " + myCall + "/") >= 0
|
or decodedText.indexOf (" " + myCall + "/") >= 0
|
||||||
or decodedText.indexOf ("/" + myCall + " ") >= 0
|
or decodedText.indexOf ("/" + myCall + " ") >= 0
|
||||||
))
|
or decodedText.indexOf ("<" + myCall + " ") >= 0
|
||||||
|
or decodedText.indexOf (" " + myCall + ">") >= 0)) {
|
||||||
bg=color_MyCall.name();
|
bg=color_MyCall.name();
|
||||||
|
}
|
||||||
|
|
||||||
// if enabled add the DXCC entity and B4 status to the end of the preformated text line t1
|
// if enabled add the DXCC entity and B4 status to the end of the preformated text line t1
|
||||||
if (displayDXCCEntity && CQcall)
|
if (displayDXCCEntity && CQcall)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user