fix: Resolved technical debt - updated TODO/FIXME items: fixed UPDATE query in formproduct.cpp, corrected toDouble() in itemnumberdelegate.cpp, added ElementType enumeration, implemented composition deletion in formelementlist.cpp, updated README

This commit is contained in:
Javi
2026-05-27 12:22:25 +02:00
parent f3096faee6
commit 649ddff5fe
8 changed files with 131 additions and 19 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ void ItemNumberDelegate::setEditorData(QWidget *editor, const QModelIndex &index
{
QString val = index.model()->data(index, Qt::EditRole).toString();
val.replace(QString(","), QString("."));
double value = val.toFloat(); //index.model()->data(index, Qt::EditRole).toDouble();
double value = val.toDouble(); //index.model()->data(index, Qt::EditRole).toDouble();
static_cast<QDoubleSpinBox*>(editor)->setValue(value);
}