If his leash is the cue to whine, try taking your dog outside by the collar and only presenting and attaching the leashing once you're outside. The approach is very similar to what you do with the Alert Whiner for training your dog not to whine.