helenginn / mabscape

abmapping
0 stars 0 forks source link

Windows opend from mabscape to not close with it #9

Open funkefel opened 3 years ago

funkefel commented 3 years ago

When opening the results window of the monte carlo section, or the entailing cluster4x window, these windows do not close after the main window is closed, and the program is still running in the terminal. This disconnection might be the reason of the "No screen" prompt that is shown when opening the results window.

helenginn commented 3 years ago

QApplication::quit needs to be called from SurfaceView on whatever Qt says is the reaction to having a window closed

funkefel commented 2 years ago

08a95d6 All windows are now closed when closing the main window. Probably there should be a prompt asking you if you are sure to close the program, because you might lose progress.

funkefel commented 2 years ago

ae76f76 SurfaceView will now ask if you are sure that you want to close the Window before closing. Upon cancelling this close request there is the same Error mentioned in Issue#11, that does not seem to influence the programms workflow. Might be nice to only do that if something was changed, probably low prio though.