From 325087153b27a4eb8fee7d8ab860d429a204a7b5 Mon Sep 17 00:00:00 2001
From: athatheocsd <athatheo@csd.auth.gr>
Date: Tue, 18 Dec 2018 18:54:52 +0200
Subject: [PATCH] enable/disable event action function completed

---
 src/Services/EventActionService.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Services/EventActionService.cpp b/src/Services/EventActionService.cpp
index 989a5ba5..d5d93957 100644
--- a/src/Services/EventActionService.cpp
+++ b/src/Services/EventActionService.cpp
@@ -77,6 +77,7 @@ void EventActionService::enableEventActionFunction(Message message) {
 	// TC[19,8]
 	if (message.messageType == 8 && message.packetType == Message::TC && message.serviceType
 	                                                                     == 19){
+		setEventActionFunctionStatus(EventActionFunctionStatus::enabledFunction);
 	}
 }
 
@@ -84,5 +85,6 @@ void EventActionService::disableEventActionFunction(Message message) {
 	// TC[19,9]
 	if (message.messageType == 9 && message.packetType == Message::TC && message.serviceType
 	                                                                     == 19){
+		setEventActionFunctionStatus(EventActionFunctionStatus::disabledFunction);
 	}
 }
-- 
GitLab