I have an application that creates a new window (let’s call it Cuprins) when a button of the same name is pressed. The problem I have is that when I close the new window, it also closes the main one. Is there anyway to make the main window not close when closing the Cuprins window?
Share
Check what’s the default close operation. Set it to “dispose on close” or “do nothing on close”