src/EditProduct.cpp

changeset 182
545d31130844
parent 181
14a1f7bca79b
child 183
bce87b8b604b
--- a/src/EditProduct.cpp	Sat Apr 30 20:36:30 2022 +0200
+++ b/src/EditProduct.cpp	Sun May 01 10:31:31 2022 +0200
@@ -902,6 +902,13 @@
     ui->sp_acidvolEdit->setValue(product->sparge_acid_amount);
 
     // Tab brewday.
+    ui->brew_startEdit->setText(product->brew_date_start.toString("dd MMM yyyy  hh:mm"));
+    ui->brew_endEdit->setText(product->brew_date_end.toString("dd MMM yyyy  hh:mm"));
+    ui->brew_mashphEdit->setValue(product->brew_mash_ph);
+    ui->brew_mashphShow->setValue(product->mash_ph);
+    ui->brew_mashsgEdit->setValue(product->brew_mash_sg);
+    ui->brew_mashsgShow->setValue(0);
+    ui->brew_masheffShow->setValue(product->brew_mash_efficiency);
 
     // Tab fermentation.
 

mercurial