Hi,

l did some research on the forum and didn't find the solution so here we go.

My main application is a Qdialog ( to display graph using qwt), from there l open other Qdialog ( graph proerties and so on). I open the "child dialog" with .exec(), and l call accept() in the "childtdialog"to close them.

my issue is when l close the child dialog, it close the main Qdialog.

I added QApplication::setQuitOnLastWindowClosed(false); in my main function, it doesn't work.

any idea ?

thanks,

Michael