mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-15 13:53:19 -05:00
Add support to resolve variables on action queue add
This commit is contained in:
@@ -142,6 +142,22 @@ std::string MacroActionSceneOrder::GetShortDesc() const
|
||||
return _scene.ToString() + " - " + _source.ToString();
|
||||
}
|
||||
|
||||
std::shared_ptr<MacroAction> MacroActionSceneOrder::Create(Macro *m)
|
||||
{
|
||||
return std::make_shared<MacroActionSceneOrder>(m);
|
||||
}
|
||||
|
||||
std::shared_ptr<MacroAction> MacroActionSceneOrder::Copy() const
|
||||
{
|
||||
return std::make_shared<MacroActionSceneOrder>(*this);
|
||||
}
|
||||
|
||||
void MacroActionSceneOrder::ResolveVariablesToFixedValues()
|
||||
{
|
||||
_scene.ResolveVariables();
|
||||
_source.ResolveVariables();
|
||||
}
|
||||
|
||||
static inline void populateActionSelection(QComboBox *list)
|
||||
{
|
||||
for (const auto &entry : actionTypes) {
|
||||
|
||||
Reference in New Issue
Block a user