src/EditProductTab1.cpp

changeset 233
baf666307ebb
parent 227
7966bf14cc34
child 271
f56c0dff0a3d
--- a/src/EditProductTab1.cpp	Sat May 21 21:40:57 2022 +0200
+++ b/src/EditProductTab1.cpp	Sat May 21 21:44:24 2022 +0200
@@ -576,7 +576,7 @@
     if ((product->taste_color != "") && (product->taste_transparency != "") && (product->taste_head != "") &&
 	(product->taste_aroma != "") && (product->taste_taste != "") && (product->taste_mouthfeel != "") &&
 	(product->taste_aftertaste != "") && (product->taste_notes != "") && (product->taste_rate > 0) &&
-	(product->taste_date.isValid()))
+	(product->taste_date.isValid() && (stage == PROD_STAGE_TASTE)))
 	ui->taste_ackButton->show();
     else
 	ui->taste_ackButton->hide();

mercurial