mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-27 02:50:39 -04:00 
			
		
		
		
	Allow the logQSO dialog to modify "Exch Sent" or "Rcvd" in RTTY mode and have the changes flow through to N1MM.
Something similar should be done for other contest modes.
This commit is contained in:
		
							parent
							
								
									6374ee9557
								
							
						
					
					
						commit
						9fd64f48de
					
				| @ -135,9 +135,15 @@ void LogQSO::accept() | ||||
|   auto xsent = ui->exchSent->text (); | ||||
|   auto xrcvd = ui->exchRcvd->text (); | ||||
| 
 | ||||
|   // validate
 | ||||
|   using SpOp = Configuration::SpecialOperatingActivity; | ||||
|   auto special_op = m_config->special_op_id (); | ||||
| 
 | ||||
|   if (special_op == SpOp::RTTY) { | ||||
|     if(rptSent=="" or !xsent.contains(rptSent+" ")) rptSent=xsent.split(" ",QString::SkipEmptyParts).at(0); | ||||
|     if(rptRcvd=="" or !xrcvd.contains(rptRcvd+" ")) rptRcvd=xrcvd.split(" ",QString::SkipEmptyParts).at(0); | ||||
|   } | ||||
| 
 | ||||
|   // validate
 | ||||
|   if (SpOp::NONE < special_op && special_op < SpOp::FOX) | ||||
|     { | ||||
|       if (xsent.isEmpty () || xrcvd.isEmpty ()) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user