# HG changeset patch # User Michiel Broek # Date 1653162264 -7200 # Node ID baf666307ebbe8b3fcfb99fb1ceea8c47aa52780 # Parent 6d3ba9c44f959428a236232eb5f79ea16d31b02a Hide the taste ack button of stage is not taste. diff -r 6d3ba9c44f95 -r baf666307ebb src/EditProductTab1.cpp --- 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();