mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Display Q65 decodes as white in Band Mp and Messages windows.
This commit is contained in:
parent
7076f3c749
commit
51b0941b20
@ -1428,7 +1428,6 @@ void MainWindow::readFromStdout() //readFromStdout
|
||||
m=3;
|
||||
#endif
|
||||
if(n>=30) ui->decodedTextBrowser->append(t.mid(1,n-m));
|
||||
// if(n<30) ui->decodedTextBrowser->append(t.mid(1,n-3)); //Write a no-decode JT65 line
|
||||
n=ui->decodedTextBrowser->verticalScrollBar()->maximum();
|
||||
ui->decodedTextBrowser->verticalScrollBar()->setValue(n);
|
||||
m_messagesText="";
|
||||
|
@ -45,6 +45,8 @@ void Messages::setText(QString t, QString t2)
|
||||
if(t2.mid(i-1,1)==" ") continue;
|
||||
}
|
||||
int n=line.mid(50,2).toInt();
|
||||
if(line.indexOf(":")>0) n=-1;
|
||||
if(n==-1) ui->messagesTextBrowser->setTextColor("#ffffff"); // white
|
||||
if(n==0) ui->messagesTextBrowser->setTextColor(m_color0);
|
||||
if(n==1) ui->messagesTextBrowser->setTextColor(m_color1);
|
||||
if(n==2) ui->messagesTextBrowser->setTextColor(m_color2);
|
||||
|
Loading…
Reference in New Issue
Block a user