Our daughter went through the same thing last year, she was completely potty trained, then after being diagnosed, she started peeing her pants all the time. I licked the problem by sticking her bum in a cold shower everytime, and after a couple of days, she got the hint.
Sometimes accidents can...