mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 21:40:52 -05:00 
			
		
		
		
	Improved protection against crashes caused by double-clicking messages with <...> in certain QSO situations.
This commit is contained in:
		
							parent
							
								
									83b833a4f7
								
							
						
					
					
						commit
						f21d2ca9b1
					
				@ -5373,9 +5373,9 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
 | 
				
			|||||||
      MessageBox::information_message (this, tr ("Should you switch to RTTY contest mode?"));
 | 
					      MessageBox::information_message (this, tr ("Should you switch to RTTY contest mode?"));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if(SpecOp::EU_VHF==m_specOp and message.string().contains("<...>")) {
 | 
					    // This is necessary to prevent crashes caused by double-clicking messages with <...> in certain QSO situations.
 | 
				
			||||||
      return;
 | 
					    if((SpecOp::EU_VHF==m_specOp or SpecOp::RTTY==m_specOp or SpecOp::FIELD_DAY==m_specOp)
 | 
				
			||||||
    }
 | 
					        and message.string().contains("<...>")) return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if(SpecOp::EU_VHF==m_specOp and message_words.at(2).contains(m_baseCall) and
 | 
					    if(SpecOp::EU_VHF==m_specOp and message_words.at(2).contains(m_baseCall) and
 | 
				
			||||||
       (!message_words.at(3).contains(qso_partner_base_call)) and (!m_bDoubleClicked)) {
 | 
					       (!message_words.at(3).contains(qso_partner_base_call)) and (!m_bDoubleClicked)) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user