Fixed bugs 2981754 and 2981759 (PCBnew crash when trying to add a new net name to a pad) Linux specific, and perhaps due to a bug in wxGTK 2.8 (does not happen in 2.9)