src/EditProductTab7.cpp

changeset 528
50b057ae50aa
parent 525
e6a4a3a29584
equal deleted inserted replaced
527:84091b9cb800 528:50b057ae50aa
259 259
260 /* Estimated needed sparge water corrected for the temperature. */ 260 /* Estimated needed sparge water corrected for the temperature. */
261 product->brew_sparge_est = 261 product->brew_sparge_est =
262 round((product->boil_size - infused + (product->mashs_kg * my_grain_absorption) + product->eq_lauter_deadspace) * 1.03 * 1000) / 1000; 262 round((product->boil_size - infused + (product->mashs_kg * my_grain_absorption) + product->eq_lauter_deadspace) * 1.03 * 1000) / 1000;
263 ui->brew_spargeestShow->setValue(product->brew_sparge_est); 263 ui->brew_spargeestShow->setValue(product->brew_sparge_est);
264 ui->wb_volEdit->setValue(product->wg_amount + product->brew_sparge_est);
264 } 265 }
265 266
266 267
267 void EditProduct::addMashRow_clicked() 268 void EditProduct::addMashRow_clicked()
268 { 269 {

mercurial