mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-24 04:58:46 -04:00
Prevent a crash when clicking on a message without word 3 in Fieldday or FT Roundup mode.
This commit is contained in:
parent
c6d13a7984
commit
2bbcd1010a
@ -4589,7 +4589,7 @@ void MainWindow::guiUpdate()
|
||||
if(m_ntx==2 or m_ntx==3) {
|
||||
QStringList t=ui->tx2->text().split(' ', SkipEmptyParts);
|
||||
int n=t.size();
|
||||
m_xSent=t.at(n-2) + " " + t.at(n-1);
|
||||
if (n > 3) m_xSent=t.at(n-2) + " " + t.at(n-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user