mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	Do not act on double clicks of empty decode window lines
Tx period was erroneously being forced to odd/2nd. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6670 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									1af1a2d97e
								
							
						
					
					
						commit
						7c2ededab6
					
				@ -2858,9 +2858,6 @@ void MainWindow::processMessage(QString const& messages, int position, bool ctrl
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  decodedtext = t2a;
 | 
			
		||||
  int nmod=ntsec % (2*m_TRperiod);
 | 
			
		||||
  m_txFirst=(nmod!=0);
 | 
			
		||||
  ui->txFirstCheckBox->setChecked(m_txFirst);
 | 
			
		||||
 | 
			
		||||
  if (decodedtext.indexOf(" CQ ") > 0) {
 | 
			
		||||
// TODO this magic 36 characters is also referenced in DisplayText::_appendDXCCWorkedB4()
 | 
			
		||||
@ -2874,6 +2871,10 @@ void MainWindow::processMessage(QString const& messages, int position, bool ctrl
 | 
			
		||||
  auto t4 = t3.replace (" CQ DX ", " CQ_DX ").split (" ", QString::SkipEmptyParts);
 | 
			
		||||
  if(t4.size () < 6) return;             //Skip the rest if no decoded text
 | 
			
		||||
 | 
			
		||||
  int nmod=ntsec % (2*m_TRperiod);
 | 
			
		||||
  m_txFirst=(nmod!=0);
 | 
			
		||||
  ui->txFirstCheckBox->setChecked(m_txFirst);
 | 
			
		||||
 | 
			
		||||
  QString hiscall;
 | 
			
		||||
  QString hisgrid;
 | 
			
		||||
  decodedtext.deCallAndGrid(/*out*/hiscall,hisgrid);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user