From 8b9f3064ba131233e2d8e4aaa3a474ea8f2b4e8b Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Fri, 19 Jan 2024 19:55:24 +0100 Subject: [PATCH] Fix else-actions being executed for paused macros --- lib/macro/macro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/macro/macro.cpp b/lib/macro/macro.cpp index e6929e4f..17584b77 100644 --- a/lib/macro/macro.cpp +++ b/lib/macro/macro.cpp @@ -231,7 +231,7 @@ bool Macro::ExecutedSince( bool Macro::ShouldRunActions() const { const bool hasActionsToExecute = - (_matched || _elseActions.size() > 0) && + !_paused && (_matched || _elseActions.size() > 0) && (!_performActionsOnChange || _conditionSateChanged); if (VerboseLoggingEnabled() && _performActionsOnChange &&