diff --git a/src/macro-action-edit.cpp b/src/macro-action-edit.cpp index 5a935a99..e249c566 100644 --- a/src/macro-action-edit.cpp +++ b/src/macro-action-edit.cpp @@ -138,8 +138,8 @@ void AdvSceneSwitcher::AddMacroAction(int idx) std::string id = temp.GetId(); std::lock_guard lock(switcher->m); - auto action = macro->Actions().emplace(macro->Actions().begin() + idx, - MacroActionFactory::Create(id)); + macro->Actions().emplace(macro->Actions().begin() + idx, + MacroActionFactory::Create(id)); macro->UpdateActionIndices(); // All entry pointers in existing edit widgets after the new entry will