Blank value for custom fields dropdown should be first

This commit is contained in:
Jordan Sherer 2019-06-05 11:35:07 -04:00
parent 72bf58ad4c
commit 2399563041

View File

@ -75,8 +75,8 @@ void LogQSO::createAdditionalField(QString key, QString value){
}
QComboBox * c = new QComboBox(this);
c->insertItem(0, "");
c->insertItems(0, ADIF_FIELDS);
c->insertItem(0, "");
c->setEditable(false);
connect(c, &QComboBox::currentTextChanged, this, [this, l](const QString &text){
l->setProperty("fieldKey", QVariant(text));