I have a app that starts a window (QMainWindow). Pressing a button creates a new window(QMainWindow). The first window cannot be changed, or closed, etc., the second window does fine. When I close the second window, the focus returns to the first window, but it still doesn't respond to anything.

Without posting any code, is there something obvious I can look for, or is there a better way?

The main goal is to have a initial window, that can spawn one of three different windows. In turn each of these windows will spawn one or more windows for data display.

I am pretty new at gui programming, so thanks for any help...

-mark