src/EditRecipeTab1.cpp

changeset 301
fe6346211b5b
parent 171
6cd2d808d863
child 359
dfbb012c631c
--- a/src/EditRecipeTab1.cpp	Sun Jun 19 19:42:29 2022 +0200
+++ b/src/EditRecipeTab1.cpp	Mon Jun 20 19:55:23 2022 +0200
@@ -73,7 +73,7 @@
     ui->st_guideEdit->setText(recipe->st_guide);
     ui->st_catEdit->setText(recipe->st_category);
     ui->st_catnrEdit->setText(QString("%1").arg(recipe->st_category_number));
-    ui->st_typeEdit->setText(style_types[recipe->st_type]);
+    ui->st_typeEdit->setText(QCoreApplication::translate("BeerType", g_style_types[recipe->st_type]));
 
     ui->est_ogShow->setRange(query.value(7).toDouble(), query.value(8).toDouble());
     ui->est_fgShow->setRange(query.value(9).toDouble(), query.value(10).toDouble());

mercurial