Log RX text should append instead of overwrite

This commit is contained in:
Jordan Sherer 2019-06-02 21:34:39 -04:00
parent 88455247a4
commit ae6dccc183

View File

@ -46,11 +46,14 @@ bool LogQSO::acceptText(QString text){
} }
auto l = static_cast<QLineEdit*>(w); auto l = static_cast<QLineEdit*>(w);
if(!l->text().isEmpty()){ if(l->text().isEmpty()){
return false; // set
l->setText(text);
} else {
// append
l->setText(QString("%1 %2").arg(l->text()).arg(text));
} }
l->setText(text);
return true; return true;
} }