Fixed crash on toggling the pad outline display mode in CvPcb.