I've been refusing to let the leg go when she does this until she stops and settles. She will usually give it one or two tries before she quits and I'm able to finish.
I've always had a hard time knowing when I should scold a horse and when I should simply continue doing what I'm doing until they stop.
She is very good at being handled in all other areas. Should I be scolding her harshly since kicking is a nasty habit (even though she hasn't ever actually kicked me) or is simply holding the leg until she stops a clear enough message that I don't like that behavior?