From 1e2df2eb7caeef93d332e8e702e21dcbc16df67a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Fri, 1 Oct 2021 15:13:00 +0200 Subject: [PATCH] Fix copy constructor of Action class --- libnymea/types/action.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libnymea/types/action.cpp b/libnymea/types/action.cpp index 02b87ff9..7e284dd6 100644 --- a/libnymea/types/action.cpp +++ b/libnymea/types/action.cpp @@ -57,7 +57,8 @@ Action::Action(const ActionTypeId &actionTypeId, const ThingId &thingId, Trigger Action::Action(const Action &other): m_actionTypeId(other.actionTypeId()), m_thingId(other.thingId()), - m_params(other.params()) + m_params(other.params()), + m_triggeredBy(other.triggeredBy()) { }