Replace "Ignore Entry" condition logic with SwitchButton toggle

This commit is contained in:
WarmUpTill
2026-05-01 18:59:47 +02:00
committed by WarmUpTill
parent c73a5866d7
commit 41866bcb24
15 changed files with 47 additions and 15 deletions

View File

@@ -157,6 +157,15 @@ bool Macro::CheckConditionHelper(
return conditionMatched;
};
if (!condition->Enabled()) {
vblog(LOG_INFO, "ignoring condition '%s' for '%s'",
condition->GetId().c_str(), _name.c_str());
if (!_useShortCircuitEvaluation) {
(void)evaluateCondition();
}
return _matched;
}
const auto logicType = condition->GetLogicType();
if (logicType == Logic::Type::NONE) {
vblog(LOG_INFO, "ignoring condition '%s' for '%s'",