diff --git a/app/gui/oven_control/manualcookwindow.cpp b/app/gui/oven_control/manualcookwindow.cpp index 5895fea..fd1832a 100644 --- a/app/gui/oven_control/manualcookwindow.cpp +++ b/app/gui/oven_control/manualcookwindow.cpp @@ -404,8 +404,17 @@ QPushButton:checked\ if (showFrontButtons) { ui->preheatButton->show(); - ui->damperButton->show(); - ui->humidificationButton->show(); + + if (oven->mode() == Define::DryMode) + ui->damperButton->show(); + else + ui->damperButton->hide(); + + if (oven->currentTemp() < 160) + ui->humidificationButton->show(); + else + ui->humidificationButton->hide(); + if (oven->cooking()) ui->repeatButton->show(); else @@ -999,7 +1008,7 @@ void ManualCookWindow::on_humidificationButton_clicked() if (oven->humidification()) oven->stopHumidification(); else - oven->startHumidification(); + oven->startHumidification(5); } void ManualCookWindow::on_repeatButton_clicked()