src/EditProductTab1.cpp

changeset 211
bec0386b1df1
parent 210
b45bd6da5220
child 214
641540dc6ef2
--- a/src/EditProductTab1.cpp	Sun May 15 23:10:15 2022 +0200
+++ b/src/EditProductTab1.cpp	Mon May 16 09:22:28 2022 +0200
@@ -299,6 +299,13 @@
 
     /* Tab 9, brewday */
     ui->tabWidget->setTabEnabled(8, stage > PROD_STAGE_PLAN);
+    if (product->log_brew) {
+	ui->brew_logLabel->show();
+	ui->brew_logButton->show();
+    } else {
+	ui->brew_logLabel->hide();
+	ui->brew_logButton->hide();
+    }
     if (product->stage < PROD_STAGE_BREW) {
 	ui->brew_startButton1->show();
         ui->brew_startButton2->show();

mercurial