Added write-back for combos
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user