Added write-back for combos

This commit is contained in:
2025-09-11 23:09:14 +02:00
parent d5c1f8925c
commit cc441d094c
3 changed files with 6 additions and 5 deletions

View File

@@ -322,6 +322,7 @@ void XQItemDelegate::setModelData(QWidget* editor, QAbstractItemModel* model, co
case XQItem::ComboBoxType :
{
QComboBox* comboBox = qobject_cast<QComboBox*>(editor);
item.setData( comboBox->currentText(), Qt::DisplayRole );
return;
}