Commit ec6c602ce837bcb18f38db81273e11873fae9f97
1 parent
fa41bb40d6
Exists in
master
and in
2 other branches
엔지니어링 모드 실행 중엔 오류가 발생해도 HACCP 기록을 중단하지 않는다.
Showing
1 changed file
with
7 additions
and
2 deletions
Show diff stats
app/gui/oven_control/haccp.cpp
| ... | ... | @@ -129,8 +129,13 @@ void error(QString code) |
| 129 | 129 | if (data.type == Invalid) |
| 130 | 130 | return; |
| 131 | 131 | |
| 132 | - stampError(code); | |
| 133 | - saveData(); | |
| 132 | + if (data.type == Engineering) | |
| 133 | + stampError(code); | |
| 134 | + else | |
| 135 | + { | |
| 136 | + stampError(code); | |
| 137 | + saveData(); | |
| 138 | + } | |
| 134 | 139 | } |
| 135 | 140 | |
| 136 | 141 | void setConfig(Define::CookConfigType type, int level) | ... | ... |