diff --git a/services/productionservice.cpp b/services/productionservice.cpp index 72f1e6c..3bff5de 100644 --- a/services/productionservice.cpp +++ b/services/productionservice.cpp @@ -2317,6 +2317,7 @@ bool ProductionService::updateCurrentProcessStep(const QString &processStep, m_inspectionStatusReady = false; } startProcessTimer(processStep); + emit currentWorkpieceSnapshotChanged(m_currentWorkpiece); emitProcessElapsed(); return true; } diff --git a/services/productionworker.cpp b/services/productionworker.cpp index 46589c6..62fc219 100644 --- a/services/productionworker.cpp +++ b/services/productionworker.cpp @@ -6,6 +6,7 @@ ProductionWorker::ProductionWorker(QObject *parent) , m_stopRequested(false) { qRegisterMetaType("ProductionService::Snapshot"); + qRegisterMetaType("Workpiece"); } void ProductionWorker::ensureService()