Sat, 21 May 2022 21:44:24 +0200
Hide the taste ack button of stage is not taste.
src/EditProductTab1.cpp | file | annotate | diff | comparison | revisions |
--- 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();