Set default logic type of new non-root conditions to "or"

This commit is contained in:
WarmUpTill 2023-02-17 22:18:26 +01:00 committed by WarmUpTill
parent 1a819c807e
commit 90ebf0e0f8

View File

@ -375,7 +375,7 @@ void AdvSceneSwitcher::AddMacroCondition(int idx)
if (idx >= 1) {
id = macro->Conditions().at(idx - 1)->GetId();
if (idx == 1) {
logic = LogicType::NONE;
logic = LogicType::OR;
} else {
logic = macro->Conditions().at(idx - 1)->GetLogicType();
}