src/EditFermentable.cpp

changeset 42
88e827ea7172
parent 24
684c6e74cc1b
child 60
0d65238ebedc
--- a/src/EditFermentable.cpp	Sat Mar 05 10:37:09 2022 +0100
+++ b/src/EditFermentable.cpp	Sat Mar 05 16:19:52 2022 +0100
@@ -63,7 +63,7 @@
 	ui->typeEdit->setCurrentIndex(query.value(2).toInt());
 	ui->graintypeEdit->setCurrentIndex(query.value(20).toInt());
 	ui->maxinbatchEdit->setValue(query.value(14).toDouble());
-	ui->mashEdit->setChecked(query.value(16).toInt() ? true:false);
+	ui->mashEdit->setChecked(query.value(15).toInt() ? true:false);
 	ui->addafterEdit->setChecked(query.value(5).toInt() ? true:false);
 	ui->addedEdit->setCurrentIndex(query.value(17).toInt());
 	ui->alwaysEdit->setChecked(query.value(5).toInt() ? true:false);

mercurial