Cleanups.

This commit is contained in:
2026-01-09 06:19:37 +01:00
parent 95765226e9
commit 53b4d6e041
4 changed files with 111 additions and 100 deletions

View File

@@ -126,7 +126,7 @@ int BCValueModel::columnCount(const QModelIndex& parent) const
{
if (parent.isValid())
return 0;
return 3;
return 2;
}
@@ -183,6 +183,8 @@ Qt::ItemFlags BCValueModel::flags(const QModelIndex& index) const
bool BCValueModel::setData(const QModelIndex& index, const QVariant& variant, int role)
{
qDebug() << " --- SET DATA: " << variant.toString();
if (index.isValid() && role == Qt::EditRole)
{
BCValuePtr value = _valueList[index.row()];