diff --git a/gtk2_ardour/waves_export_dialog.cc b/gtk2_ardour/waves_export_dialog.cc index 6b65658f46..31b8712fcc 100644 --- a/gtk2_ardour/waves_export_dialog.cc +++ b/gtk2_ardour/waves_export_dialog.cc @@ -381,9 +381,7 @@ WavesExportDialog::show_progress () } status->finish (); - if (!aborted) { - response (Gtk::RESPONSE_OK); - } + response (aborted ? Gtk::RESPONSE_OK : Gtk::RESPONSE_CANCEL); } gint