diff --git a/app/gui/oven_control/ovenstatics.cpp b/app/gui/oven_control/ovenstatics.cpp index 4dfc125..5740909 100644 --- a/app/gui/oven_control/ovenstatics.cpp +++ b/app/gui/oven_control/ovenstatics.cpp @@ -570,6 +570,8 @@ void OvenStatistics::processErrorItems(error_item *item, error_exe_type errtype, item->last_fried = ltime; } + emit onErrorFired(erridx); + if(errtype>=error_type_chkclrstopcmd){ qDebug() << "exec killchild"; if(MainWindow::killChildCook()){ diff --git a/app/gui/oven_control/ovenstatics.h b/app/gui/oven_control/ovenstatics.h index b626e9c..709dc05 100644 --- a/app/gui/oven_control/ovenstatics.h +++ b/app/gui/oven_control/ovenstatics.h @@ -416,6 +416,9 @@ public slots: void onDataChanged(); void oneSecTimerFired(void); void onErrorPopupClosed(int erridx); + +signals: + void onErrorFired(int erridx); }; #endif // OVENSTATICS_H