| 1028 | } |
| 1029 | |
| 1030 | bool Macro::SwitchesScene() const |
| 1031 | { |
| 1032 | for (const auto &a : _actions) { |
| 1033 | if (a->GetId() == MacroAction::GetDefaultID()) { |
| 1034 | return true; |
| 1035 | } |
| 1036 | } |
| 1037 | for (const auto &a : _elseActions) { |
| 1038 | if (a->GetId() == MacroAction::GetDefaultID()) { |
| 1039 | return true; |
| 1040 | } |
| 1041 | } |
| 1042 | return false; |
| 1043 | } |
| 1044 | |
| 1045 | const QList<int> &Macro::GetActionConditionSplitterPosition() const |
| 1046 | { |