Select filename in rename dialog (getChildren approach) 

Without the thread hack Qt resets selection after us.

If the code fails, expected behaviour is just all text selected without any error messages, like before.