Reset text in new function name input box.

Original patch submitted by ZZromanZZ@gmail.com.
See Bug #729699 for more details.