Implemented setter for register groups model

This commit is contained in:
2023-02-19 20:23:18 +01:00
parent e94ee5dd54
commit 01129e7a30
6 changed files with 71 additions and 5 deletions

View File

@ -205,9 +205,10 @@ bool DevicesModel::setData(const QModelIndex &index, const QVariant &value, int
device.position = value.value<QVector3D>();
emit dataChanged(index, index, { PositionRole });
return true;
default:
qWarning() << "hilfe" << __LINE__;
return false;
}
return false;
}
bool DevicesModel::insertRows(int row, int count, const QModelIndex &parent)