-- fy
This commit is contained in:
@@ -88,7 +88,7 @@ void BCValueModel::updateValue(int row, BCValue::Flag state, uint32_t rawValue )
|
||||
const BCValue& value = *(_valueList[row].get());
|
||||
|
||||
value.flags = state;
|
||||
value.rawUIntValue = rawValue;
|
||||
value.rawValue = rawValue;
|
||||
|
||||
QModelIndex idx1 = index(row,1);
|
||||
QModelIndex idx2 = index(row,2);
|
||||
@@ -200,7 +200,7 @@ bool BCValueModel::setData(const QModelIndex& index, const QVariant& variant, in
|
||||
// Checken ob Int oder Double
|
||||
if (variant.canConvert<int>())
|
||||
{
|
||||
value->rawUIntValue = variant.toInt();
|
||||
value->rawValue = variant.toInt();
|
||||
}
|
||||
|
||||
emit dataChanged(index, index, {Qt::DisplayRole, Qt::EditRole});
|
||||
|
||||
Reference in New Issue
Block a user