diff --git a/widgets/logqso.cpp b/widgets/logqso.cpp index 4c9f9ffc4..bfea97620 100644 --- a/widgets/logqso.cpp +++ b/widgets/logqso.cpp @@ -135,9 +135,15 @@ void LogQSO::accept() auto xsent = ui->exchSent->text (); auto xrcvd = ui->exchRcvd->text (); - // validate using SpOp = Configuration::SpecialOperatingActivity; auto special_op = m_config->special_op_id (); + + if (special_op == SpOp::RTTY) { + 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); + } + + // validate if (SpOp::NONE < special_op && special_op < SpOp::FOX) { if (xsent.isEmpty () || xrcvd.isEmpty ())