From a8e17f05fe43648e7c2f73e593c786ca0d20b769 Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 4 Jan 2018 11:41:59 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=A0=EA=B0=9D=EC=82=AC=20=EC=9A=94?= =?UTF-8?q?=EC=B2=AD=20=EB=B0=98=EC=98=81=20=20-=20=EC=88=98=EB=8F=99=20?= =?UTF-8?q?=EC=9A=94=EB=A6=AC=20=ED=99=94=EB=A9=B4=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EA=B3=A0=EB=82=B4=20=EC=82=B4=EC=88=98=20=EB=B2=84=ED=8A=BC?= =?UTF-8?q?=EC=9D=84=20=EB=88=84=EB=A5=B4=EB=A9=B4=20=EC=B5=9C=EB=8C=80=20?= =?UTF-8?q?5=EC=B4=88=EB=A7=8C=20=EC=BC=9C=EC=A7=80=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20(=EA=B8=B0=EC=A1=B4=2010=EB=B6=84)=20=20-?= =?UTF-8?q?=20=EC=88=98=EB=8F=99=20=EC=9A=94=EB=A6=AC=20=ED=99=94=EB=A9=B4?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EA=B3=A0=EB=82=B4=20=EC=82=B4=EC=88=98=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=EC=9D=84=20=EB=82=B4=EB=B6=80=20=EC=98=A8?= =?UTF-8?q?=EB=8F=84=EA=B0=80=20160=EB=8F=84=20=EB=AF=B8=EB=A7=8C=EC=9D=BC?= =?UTF-8?q?=20=EB=95=8C=EB=A7=8C=20=EB=B3=B4=EC=9D=B4=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20=20-=20=EC=88=98=EB=8F=99=20=EC=9A=94?= =?UTF-8?q?=EB=A6=AC=20=ED=99=94=EB=A9=B4=EC=97=90=EC=84=9C=20=EB=8C=90?= =?UTF-8?q?=ED=8D=BC=20=EB=B2=84=ED=8A=BC=EC=9D=84=20=EA=B1=B4=EC=97=B4=20?= =?UTF-8?q?=EB=AA=A8=EB=93=9C=EC=9D=BC=20=EB=95=8C=EB=A7=8C=20=EB=B3=B4?= =?UTF-8?q?=EC=9D=B4=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/gui/oven_control/manualcookwindow.cpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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() -- 2.1.4