Commit a8e17f05fe43648e7c2f73e593c786ca0d20b769
1 parent
d6955937b7
Exists in
master
and in
2 other branches
고객사 요청 반영
- 수동 요리 화면에서 고내 살수 버튼을 누르면 최대 5초만 켜지도록 변경 (기존 10분) - 수동 요리 화면에서 고내 살수 버튼을 내부 온도가 160도 미만일 때만 보이도록 변경 - 수동 요리 화면에서 댐퍼 버튼을 건열 모드일 때만 보이도록 변경
Showing
1 changed file
with
12 additions
and
3 deletions
Show diff stats
app/gui/oven_control/manualcookwindow.cpp
| @@ -404,8 +404,17 @@ QPushButton:checked\ | @@ -404,8 +404,17 @@ QPushButton:checked\ | ||
| 404 | if (showFrontButtons) | 404 | if (showFrontButtons) |
| 405 | { | 405 | { |
| 406 | ui->preheatButton->show(); | 406 | ui->preheatButton->show(); |
| 407 | - ui->damperButton->show(); | ||
| 408 | - ui->humidificationButton->show(); | 407 | + |
| 408 | + if (oven->mode() == Define::DryMode) | ||
| 409 | + ui->damperButton->show(); | ||
| 410 | + else | ||
| 411 | + ui->damperButton->hide(); | ||
| 412 | + | ||
| 413 | + if (oven->currentTemp() < 160) | ||
| 414 | + ui->humidificationButton->show(); | ||
| 415 | + else | ||
| 416 | + ui->humidificationButton->hide(); | ||
| 417 | + | ||
| 409 | if (oven->cooking()) | 418 | if (oven->cooking()) |
| 410 | ui->repeatButton->show(); | 419 | ui->repeatButton->show(); |
| 411 | else | 420 | else |
| @@ -999,7 +1008,7 @@ void ManualCookWindow::on_humidificationButton_clicked() | @@ -999,7 +1008,7 @@ void ManualCookWindow::on_humidificationButton_clicked() | ||
| 999 | if (oven->humidification()) | 1008 | if (oven->humidification()) |
| 1000 | oven->stopHumidification(); | 1009 | oven->stopHumidification(); |
| 1001 | else | 1010 | else |
| 1002 | - oven->startHumidification(); | 1011 | + oven->startHumidification(5); |
| 1003 | } | 1012 | } |
| 1004 | 1013 | ||
| 1005 | void ManualCookWindow::on_repeatButton_clicked() | 1014 | void ManualCookWindow::on_repeatButton_clicked() |