Blank value for custom fields dropdown should be first
This commit is contained in:
parent
72bf58ad4c
commit
2399563041
@ -75,8 +75,8 @@ void LogQSO::createAdditionalField(QString key, QString value){
|
|||||||
}
|
}
|
||||||
|
|
||||||
QComboBox * c = new QComboBox(this);
|
QComboBox * c = new QComboBox(this);
|
||||||
c->insertItem(0, "");
|
|
||||||
c->insertItems(0, ADIF_FIELDS);
|
c->insertItems(0, ADIF_FIELDS);
|
||||||
|
c->insertItem(0, "");
|
||||||
c->setEditable(false);
|
c->setEditable(false);
|
||||||
connect(c, &QComboBox::currentTextChanged, this, [this, l](const QString &text){
|
connect(c, &QComboBox::currentTextChanged, this, [this, l](const QString &text){
|
||||||
l->setProperty("fieldKey", QVariant(text));
|
l->setProperty("fieldKey", QVariant(text));
|
||||||
|
Loading…
Reference in New Issue
Block a user