mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	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.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,callB4onBand,countryB4onBand,gridB4onBand,
 | 
			
		||||
                /*in*/ currentBand);
 | 
			
		||||
  if(grid=="") {
 | 
			
		||||
    gridB4=true;
 | 
			
		||||
    gridB4onBand=true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  message = message.trimmed ();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user