Update AutomationEditor.cpp