From 308c613b884b30affec8f960d80d16f0f39fdb13 Mon Sep 17 00:00:00 2001
From: taehoon <taehoon@falinux.com>
Date: Thu, 28 Jan 2021 11:56:01 +0900
Subject: [PATCH] =?UTF-8?q?=EC=84=B8=EC=B2=99=20=EC=A4=91=20=EC=98=A4?=
 =?UTF-8?q?=EB=A5=98=20=EC=8B=9C=20=EC=84=B8=EC=B2=99=20=EC=A4=91=EB=8B=A8?=
 =?UTF-8?q?=20=EC=A0=88=EC=B0=A8=20=EC=A7=84=EC=9E=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/gui/oven_control/washwindow.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app/gui/oven_control/washwindow.cpp b/app/gui/oven_control/washwindow.cpp
index 6debea0..1428777 100644
--- a/app/gui/oven_control/washwindow.cpp
+++ b/app/gui/oven_control/washwindow.cpp
@@ -61,7 +61,8 @@ WashWindow::WashWindow(QWidget *parent) :
 
     setFocus();
 
-    if (OvenStatistics::getInstance()->loadWashState())
+    OvenStatistics *os = OvenStatistics::getInstance();
+    if (os->loadWashState())
     {
         // Start Cleaning Steam Generator
         state = RequestClean;
@@ -86,6 +87,8 @@ WashWindow::WashWindow(QWidget *parent) :
 
         ui->upperStack->setCurrentIndex(1);
     }
+
+    connect(os, SIGNAL(stopClean()), SLOT(stop()));
 }
 
 WashWindow::~WashWindow()
-- 
2.1.4