Quote Originally Posted by waynew View Post
Thanks, but I forgot to mention that I tried setting the focus to a widget in the main window - unfortunately, to no effect.
Yeah. I think activateWindow() might be a better bet.

I'm assuming you can manually activate the main window by clicking on it. If not, there may be a modeless/modal issue with your dialog.