This commit is contained in:
2026-01-08 00:25:36 +01:00
parent 23695bc7ef
commit c40f288aaa
9 changed files with 110 additions and 196 deletions

View File

@@ -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});