src/EditProductTab7.cpp

changeset 180
bbf0f06a5e72
parent 177
62b8d701cd88
child 183
bce87b8b604b
--- a/src/EditProductTab7.cpp	Fri Apr 29 22:49:32 2022 +0200
+++ b/src/EditProductTab7.cpp	Fri Apr 29 23:09:51 2022 +0200
@@ -238,6 +238,7 @@
 	}
     }
 
+    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'));
 }

mercurial