Export Report needs to heed RESPONSE_CANCEL for close-all-dialogs
This still does not work on macOS. closing a session (using the menu) while the dialog is visible still causes a crash: `unload_session()` completes and destroys the session before the dialog's run() method returns and destroys the dialog.
This commit is contained in:
@@ -856,7 +856,7 @@ ExportReport::run ()
|
||||
{
|
||||
do {
|
||||
int i = ArdourDialog::run ();
|
||||
if (i == Gtk::RESPONSE_DELETE_EVENT || i == RESPONSE_CLOSE) {
|
||||
if (i == Gtk::RESPONSE_DELETE_EVENT || i == RESPONSE_CLOSE || i == RESPONSE_CANCEL) {
|
||||
break;
|
||||
}
|
||||
} while (1);
|
||||
|
||||
Reference in New Issue
Block a user