src/ProdOnTree.cpp

changeset 336
e97f9e87d94b
parent 234
51aea8b798f0
--- a/src/ProdOnTree.cpp	Sun Jul 03 19:02:02 2022 +0200
+++ b/src/ProdOnTree.cpp	Tue Jul 05 14:31:39 2022 +0200
@@ -321,7 +321,6 @@
     qDebug() << "showRecipe" << record;
 
     const QStringList c_method({"Morey", "Mosher", "Daniels", "Halberstadt", "Naudts" });
-    const QStringList i_method({"Tinseth", "Rager", "Daniels" });
 
     /*
      * If no recipe is "pre" selected, return.
@@ -352,7 +351,7 @@
 	colorEdit->setStyleSheet(Utils::ebc_to_style(query.value(7).toInt()));
 	colormethodEdit->setText(c_method[query.value(8).toInt()]);
 	ibuEdit->setValue(query.value(9).toInt());
-	ibumethodEdit->setText(i_method[query.value(10).toInt()]);
+	ibumethodEdit->setText(g_ibu_method[query.value(10).toInt()]);
 	co2Edit->setValue(query.value(11).toDouble());
 	remarksEdit->setPlainText(query.value(12).toString());
 	recipeBox->setTitle(query.value(14).toString() + " - " + query.value(13).toString());

mercurial