mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-21 23:12:33 -04:00
Deactivate Lookup for certain special operating activities, as 6-digit grids from CALL3.TXT may not be accepted.
This commit is contained in:
parent
aac9de3e4c
commit
90b7ff7da9
@ -6383,7 +6383,7 @@ void MainWindow::lookup()
|
|||||||
{
|
{
|
||||||
QString hisCall {ui->dxCallEntry->text()};
|
QString hisCall {ui->dxCallEntry->text()};
|
||||||
QString hisgrid0 {ui->dxGridEntry->text()};
|
QString hisgrid0 {ui->dxGridEntry->text()};
|
||||||
if (!hisCall.size ()) return;
|
if (!hisCall.size () or (!(m_specOp==SpecOp::NONE or m_specOp==SpecOp::HOUND or m_specOp==SpecOp::Q65_PILEUP))) return;
|
||||||
QFile f {m_config.writeable_data_dir ().absoluteFilePath ("CALL3.TXT")};
|
QFile f {m_config.writeable_data_dir ().absoluteFilePath ("CALL3.TXT")};
|
||||||
if (f.open (QIODevice::ReadOnly | QIODevice::Text))
|
if (f.open (QIODevice::ReadOnly | QIODevice::Text))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user