Attempting to close BEAUti with data loaded results in the following modal:
Selecting "Cancel" should abort the closing procedure, but currently both "Cancel" and "No" seem to behave identically. The problem is that BEAUti's handler for the close event allows the event to bubble up to a built-in handler which terminates the process, even when "Cancel" is selected.
This PR simply adds a line to BEAUti's handler which prevents the propagation, yielding the expected behaviour.
Attempting to close BEAUti with data loaded results in the following modal:
Selecting "Cancel" should abort the closing procedure, but currently both "Cancel" and "No" seem to behave identically. The problem is that BEAUti's handler for the close event allows the event to bubble up to a built-in handler which terminates the process, even when "Cancel" is selected.
This PR simply adds a line to BEAUti's handler which prevents the propagation, yielding the expected behaviour.