src/EditProductTab2.cpp

changeset 527
84091b9cb800
parent 461
add4dbef0c81
child 529
7c9fb24bcc07
--- a/src/EditProductTab2.cpp	Sat Jun 01 21:10:54 2024 +0200
+++ b/src/EditProductTab2.cpp	Sat Jun 08 15:54:30 2024 +0200
@@ -28,10 +28,9 @@
     ui->tun_materialEdit->setText(QCoreApplication::translate("TunMaterial", g_tun_materials[product->eq_tun_material]));
     ui->mash_volumeEdit->setValue(product->eq_mash_volume);
     ui->mash_maxEdit->setValue(product->eq_mash_max);
-
-    /* Lautering */
     ui->lauter_deadspaceEdit->setValue(product->eq_lauter_deadspace);
-    ui->eq_efficiencyEdit->setValue(product->eq_efficiency);
+    ui->HLT_volumeEdit->setValue(product->eq_HLT_volume);
+    ui->HLT_deadspaceEdit->setValue(product->eq_HLT_deadspace);
 
     /* Boiling */
     ui->kettle_volumeEdit->setValue(product->eq_kettle_volume);
@@ -53,6 +52,7 @@
     /* Transfer */
     ui->topup_waterEdit->setValue(product->eq_top_up_water);
     ui->vol_fermenterEdit->setValue((product->eq_batch_size / 1.04) - product->eq_trub_loss - product->eq_chiller_loss);
+    ui->eq_efficiencyEdit->setValue(product->eq_efficiency);
 }
 
 
@@ -114,6 +114,8 @@
     product->eq_chiller_volume = query.value("chiller_volume").toDouble();
     product->eq_chiller_lpm = query.value("chiller_lpm").toDouble();
     product->eq_chiller_loss = query.value("chiller_loss").toDouble();
+    product->eq_HLT_volume = query.value("HLT_volume").toDouble();
+    product->eq_HLT_deadspace = query.value("HLT_deadspace").toDouble();
     showEquipment();
 
     /*

mercurial