mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Don't crash after double-click on a EU_VHF message with <...>.
This commit is contained in:
parent
47a3f9c736
commit
f4c0e7803b
@ -4520,6 +4520,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
|
||||
QStringList w=message.string().mid(22).remove("<").remove(">").split(" ",QString::SkipEmptyParts);
|
||||
int nw=w.size();
|
||||
if(nw>=4) {
|
||||
if(message_words.size()<3) return;
|
||||
// Temporary? Correct for the fact that message.deCallAndGrid() does not work for EU VHF contest messages
|
||||
QString t=message_words.at(nw-2);
|
||||
int n=w.at(nw-2).toInt();
|
||||
|
Loading…
Reference in New Issue
Block a user