mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-26 02:20:20 -04:00 
			
		
		
		
	No short messages (yet?) in MSK144 mode. Max message length = 80. Don't
try to remove a noexistent file. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6722 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									0188257072
								
							
						
					
					
						commit
						eb9873c906
					
				| @ -1986,6 +1986,7 @@ void::MainWindow::fast_decode_done() | ||||
|     } | ||||
|     if(m_msg[i][0]==0) break; | ||||
|     QString message=QString::fromLatin1(m_msg[i]); | ||||
|     if(message.length()>80) message=message.mid(0,80); | ||||
|     if(narg[13]/8==narg[12]) message=message.trimmed().replace("<...>",m_calls); | ||||
| 
 | ||||
| //Left (Band activity) window
 | ||||
| @ -2204,10 +2205,10 @@ void MainWindow::killFile () | ||||
|       !(m_saveAll || (m_saveDecoded && m_bDecoded) || m_fname == m_fileToSave)) { | ||||
|     if(m_fname.indexOf(".wav")<0) f+= ".wav"; | ||||
|     QFile f1{f}; | ||||
|     f1.remove(); | ||||
|     if(f1.exists()) f1.remove(); | ||||
|     if(m_mode.startsWith ("WSPR")) { | ||||
|       QFile f2{m_fname + ".c2"}; | ||||
|       f2.remove(); | ||||
|       if(f2.exists()) f2.remove(); | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @ -3666,6 +3667,8 @@ void MainWindow::on_actionMSK144_triggered() | ||||
|   mode_label->setStyleSheet("QLabel{background-color: #ff6666}"); | ||||
|   mode_label->setText(m_mode); | ||||
|   m_toneSpacing=0.0; | ||||
|   ui->cbShMsgs->setChecked(false); | ||||
|   ui->cbShMsgs->setVisible(false); | ||||
|   ui->actionMSK144->setChecked(true); | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user