src/EditProductTab3.cpp

changeset 399
4b9aaf86094e
parent 397
877420a13815
child 412
5fe775f036fa
--- a/src/EditProductTab3.cpp	Thu Aug 18 17:07:47 2022 +0200
+++ b/src/EditProductTab3.cpp	Thu Aug 18 19:47:28 2022 +0200
@@ -322,7 +322,7 @@
     product->est_og = Utils::estimate_sg(sugarsf + addedS, product->batch_size);
     qDebug() << "  OG" << ui->est_ogEdit->value() << product->est_og;
     if (product->stage > PROD_STAGE_BREW) {
-	ui->est_ogLabel->setText(tr("Final OG"));
+	ui->est_ogLabel->setText(tr("Final OG:"));
 	ui->est_ogEdit->setValue(product->og);
 	ui->est_ogShow->setValue(product->og);
     } else {
@@ -404,7 +404,7 @@
     ui->est_color2Edit->setValue(color);
     ui->est_color2Edit->setStyleSheet(Utils::ebc_to_style(color));
     if (product->stage > PROD_STAGE_BREW) {
-        ui->est_colorLabel->setText(tr("Final EBC"));
+        ui->est_colorLabel->setText(tr("Final EBC:"));
 	ui->est_colorEdit->setValue(product->brew_fermenter_color);
 	ui->est_colorEdit->setStyleSheet(Utils::ebc_to_style(product->brew_fermenter_color));
 	ui->est_colorShow->setValue(product->brew_fermenter_color);
@@ -469,10 +469,10 @@
     qDebug() << "  est ABV" << ui->est_abvEdit->value() << product->est_abv;
 
     if (product->stage > PROD_STAGE_TERTIARY) {
-	ui->est_fgLabel->setText(tr("Final FG"));
+	ui->est_fgLabel->setText(tr("Final FG:"));
 	ui->est_fgEdit->setValue(product->fg);
 	ui->est_fgShow->setValue(product->fg);
-	ui->est_abvLabel->setText(tr("Final ABV"));
+	ui->est_abvLabel->setText(tr("Final ABV:"));
 	double abv = Utils::abvol(product->og, product->fg);
 	ui->est_abvEdit->setValue(abv);
 	ui->est_abvShow->setValue(abv);

mercurial