Thanks hex and Mark, noAutoDetection solved it. 


On Sun, Jan 13, 2013 at 6:22 PM, Staffan Tylen <> wrote:

hex is exactly right.

This is one of the main reasons I dislike auto detection.  After the initDialog in your dialog executes, then auto detection goes through and resets all the controls.  Causing what you see.

I scanned my source tree and found the following:

-- The above doesn't allow public routines to be used!

So it's been commented out, but it was a long ago so can't remember the details. So the app is using the default behaviour and the setText already in place is working. But the code I just posted is also using the default behaviour but doesn't work. Guess I need to fiddle around with autoDetection...