--- a/src/EditProductTab7.cpp Sun May 01 10:31:31 2022 +0200 +++ b/src/EditProductTab7.cpp Sun May 01 11:38:53 2022 +0200 @@ -241,6 +241,11 @@ ui->mash_volEdit->setValue(product->mashs_kg * MaltVolume + infused); /* Show the calculated total mash time. */ ui->mash_timeEdit->setText(QString("%1:%2").arg(product->mashs_time / 60).arg(product->mashs_time % 60, 2, 'f', 0, '0')); + + /* Estimated needed sparge water corrected for the temperature. */ + product->brew_sparge_est = + round((product->boil_size - infused + (product->mashs_kg * my_grain_absorbtion) + product->eq_lauter_deadspace) * 1.03 * 1000) / 1000; + ui->brew_spargeestShow->setValue(product->brew_sparge_est); }