mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-29 20:10:28 -04:00 
			
		
		
		
	Ensure that he .WAV file read flag gets cleared when returning to monitoring
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5618 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									5003c4c839
								
							
						
					
					
						commit
						4840e9e21d
					
				| @ -977,8 +977,6 @@ void MainWindow::on_monitorButton_clicked (bool checked) | |||||||
| 
 | 
 | ||||||
|       if (checked && !prior) |       if (checked && !prior) | ||||||
|         { |         { | ||||||
|           m_diskData = false;	// no longer reading WAV files
 |  | ||||||
| 
 |  | ||||||
|           Frequency operating_frequency {m_dialFreq}; |           Frequency operating_frequency {m_dialFreq}; | ||||||
|           if (m_config.monitor_last_used ()) |           if (m_config.monitor_last_used ()) | ||||||
|             { |             { | ||||||
| @ -1006,6 +1004,7 @@ void MainWindow::monitor (bool state) | |||||||
| { | { | ||||||
|   ui->monitorButton->setChecked (state); |   ui->monitorButton->setChecked (state); | ||||||
|   if (state) { |   if (state) { | ||||||
|  |     m_diskData = false;	// no longer reading WAV files
 | ||||||
|     if (!m_monitoring) Q_EMIT resumeAudioInputStream (); |     if (!m_monitoring) Q_EMIT resumeAudioInputStream (); | ||||||
|   } else { |   } else { | ||||||
|     Q_EMIT suspendAudioInputStream (); |     Q_EMIT suspendAudioInputStream (); | ||||||
| @ -1724,12 +1723,12 @@ void MainWindow::readFromStdout()                             //readFromStdout | |||||||
|         m_QSOText=decodedtext; |         m_QSOText=decodedtext; | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|         postDecode (true, decodedtext.string ()); |       postDecode (true, decodedtext.string ()); | ||||||
| 
 | 
 | ||||||
|         // find and extract any report for myCall
 |       // find and extract any report for myCall
 | ||||||
|         bool stdMsg = decodedtext.report(m_baseCall |       bool stdMsg = decodedtext.report(m_baseCall | ||||||
|                                          , Radio::base_callsign (ui->dxCallEntry-> text ().toUpper ().trimmed ()) |                                        , Radio::base_callsign (ui->dxCallEntry-> text ().toUpper ().trimmed ()) | ||||||
|                                          , /*mod*/m_rptRcvd); |                                        , /*mod*/m_rptRcvd); | ||||||
| 
 | 
 | ||||||
|       // extract details and send to PSKreporter
 |       // extract details and send to PSKreporter
 | ||||||
|       int nsec=QDateTime::currentMSecsSinceEpoch()/1000-m_secBandChanged; |       int nsec=QDateTime::currentMSecsSinceEpoch()/1000-m_secBandChanged; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user