mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-04 05:50:31 -05:00 
			
		
		
		
	Reject "double-click on call" when the word is clearly not a callsign.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@4704 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									1e9ba7740b
								
							
						
					
					
						commit
						6bab3d03de
					
				@ -1668,7 +1668,9 @@ void MainWindow::selectCall2(bool ctrl)                         //selectCall2
 | 
				
			|||||||
  int i1=t.indexOf(" ",i);
 | 
					  int i1=t.indexOf(" ",i);
 | 
				
			||||||
  QString hiscall=t.mid(i0+1,i1-i0-1);
 | 
					  QString hiscall=t.mid(i0+1,i1-i0-1);
 | 
				
			||||||
  if(hiscall!="") {
 | 
					  if(hiscall!="") {
 | 
				
			||||||
    if(hiscall.length() < 13) doubleClickOnCall(hiscall, ctrl);
 | 
					    int n=hiscall.length();
 | 
				
			||||||
 | 
					    if( n>2 and n<13 and hiscall.toDouble()==0.0 and \
 | 
				
			||||||
 | 
					        hiscall.mid(2,-1).toInt()==0) doubleClickOnCall(hiscall, ctrl);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
                                                          //doubleClickOnCall
 | 
					                                                          //doubleClickOnCall
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user