src/EditProductTab7.cpp

changeset 301
fe6346211b5b
parent 287
83e66c6b6e07
child 307
afd711e37f68
--- a/src/EditProductTab7.cpp	Sun Jun 19 19:42:29 2022 +0200
+++ b/src/EditProductTab7.cpp	Mon Jun 20 19:55:23 2022 +0200
@@ -61,7 +61,7 @@
 
 	ui->mashsTable->setItem(i, 0, new QTableWidgetItem(product->mashs.at(i).step_name));
 
-	item = new QTableWidgetItem(step_types[product->mashs.at(i).step_type]);
+	item = new QTableWidgetItem(QCoreApplication::translate("StepType", g_step_types[product->mashs.at(i).step_type]));
         item->setTextAlignment(Qt::AlignCenter|Qt::AlignVCenter);
         ui->mashsTable->setItem(i, 1, item);
 

mercurial