From 20c41cf45bef2ead8e7775dcf33f247efd815eb6 Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Sat, 3 Feb 2024 15:44:02 +0100 Subject: [PATCH] Don't write ADIF tag when myGrid is empty. --- logbook/logbook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logbook/logbook.cpp b/logbook/logbook.cpp index 411d6240c..2d4340299 100644 --- a/logbook/logbook.cpp +++ b/logbook/logbook.cpp @@ -101,7 +101,7 @@ QByteArray LogBook::QSOToADIF (QString const& hisCall, QString const& hisGrid, Q t += " " + band; t += " " + strDialFreq; t += " " + myCall; - t += " " + myGrid; + if(myGrid!="") t += " " + myGrid; if(txPower!="") t += " " + txPower; if(comments!="") t += " " + comments; if(name!="") t += " " + name;