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
+3 -2
View File
@@ -209,9 +209,10 @@ bool DeviceTypesModel::setData(const QModelIndex &index, const QVariant &value,
deviceType.iconName = value.toString();
emit dataChanged(index, index, { IconNameRole });
return true;
default:
qWarning() << "hilfe" << __LINE__;
return false;
}
return false;
}
bool DeviceTypesModel::insertRows(int row, int count, const QModelIndex &parent)