public static void ResetAction(SkillStateAction action) { if (action == null) { return; } SkillEditor.RegisterUndo(Strings.get_Command_Reset_Action()); Keyboard.ResetFocus(); action.Reset(); SkillEditor.SaveActions(action.get_State(), true); Actions.UpdateTooltip(action); }