From 9226d0829f21823982b265aa96a87635c3ad40f1 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 8 Jan 2019 08:40:40 -0500 Subject: [PATCH] Correct a flaw in validating contest exchange data when logging. --- widgets/logqso.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/logqso.cpp b/widgets/logqso.cpp index 2c75faf5c..acbb340bc 100644 --- a/widgets/logqso.cpp +++ b/widgets/logqso.cpp @@ -142,7 +142,7 @@ void LogQSO::accept() if(xrcvd!="" and hisGrid!=xrcvd) hisGrid=xrcvd; } - if (special_op == SpOp::RTTY) { + if ((special_op == SpOp::RTTY and xsent!="" and xrcvd!="")) { if(rptSent=="" or !xsent.contains(rptSent+" ")) rptSent=xsent.split(" ",QString::SkipEmptyParts).at(0); if(rptRcvd=="" or !xrcvd.contains(rptRcvd+" ")) rptRcvd=xrcvd.split(" ",QString::SkipEmptyParts).at(0); }