mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-04-11 05:48:33 -04:00
Don't attempt to lookup empty calls in CALL3.TXT
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5057 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
6b3acf6c4e
commit
acf6708718
@ -2212,6 +2212,10 @@ void MainWindow::genStdMsgs(QString rpt) //genStdMsgs()
|
||||
void MainWindow::lookup() //lookup()
|
||||
{
|
||||
QString hisCall=ui->dxCallEntry->text().toUpper().trimmed();
|
||||
if (hisCall.isEmpty ())
|
||||
{
|
||||
return;
|
||||
}
|
||||
ui->dxCallEntry->setText(hisCall);
|
||||
QFile f {m_dataDir.absoluteFilePath ("CALL3.TXT")};
|
||||
if (f.open (QIODevice::ReadOnly | QIODevice::Text))
|
||||
|
Loading…
Reference in New Issue
Block a user