src/EditProductTab2.cpp

changeset 458
ac216a75ca9b
parent 454
2dfead81c72f
child 461
add4dbef0c81
--- a/src/EditProductTab2.cpp	Fri Jan 13 15:08:57 2023 +0100
+++ b/src/EditProductTab2.cpp	Sat Jan 14 11:34:51 2023 +0100
@@ -35,7 +35,7 @@
 
     /* Boiling */
     ui->kettle_volumeEdit->setValue(product->eq_kettle_volume);
-    ui->kettle_lossEdit->setValue(product->eq_trub_chiller_loss);
+    ui->kettle_lossEdit->setValue(product->eq_trub_loss);
     ui->eqboil_sizeEdit->setValue(product->eq_boil_size);
     ui->evap_rateEdit->setValue(product->eq_evap_rate);
     ui->eqboil_timeEdit->setValue(product->eq_boil_time);
@@ -52,7 +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_chiller_loss - product->eq_chiller_loss);
+    ui->vol_fermenterEdit->setValue((product->eq_batch_size / 1.04) - product->eq_trub_loss - product->eq_chiller_loss);
 }
 
 
@@ -99,7 +99,7 @@
     product->eq_tun_material = query.value("tun_material").toInt();
     product->eq_tun_height = query.value("tun_height").toDouble();
     product->eq_top_up_water = query.value("top_up_water").toDouble();
-    product->eq_trub_chiller_loss = query.value("trub_chiller_loss").toDouble();
+    product->eq_trub_loss = query.value("trub_loss").toDouble();
     product->eq_evap_rate = query.value("evap_rate").toDouble();
     product->eq_boil_time = query.value("boil_time").toDouble();
     //product->eq_calc_boil_volume = query.value("calc_boil_volume").toInt() ? true:false;

mercurial