View Single Post
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#18
Originally Posted by krk969 View Post
Yes its normal, the stacked window is passed to the main window as a ctor param(?)
so it will be destroyed when the main window is destroyed.

have you tried setting the attribute Qt.WA_DeleteOnClose on the stacked window ?
Im not sure if it will work but worth a try.
Perhaps you could try to call deleteLater() on it, or destroy it explicitly.