From 73e990ee52376c7e29eb200e1a50ace6d1cc4fed Mon Sep 17 00:00:00 2001 From: Valeriy Kamyshniy Date: Fri, 27 Feb 2015 03:08:26 +0200 Subject: [PATCH] [Summary] Fixed bug: in case of aborted export, the export dialog box should end. --- gtk2_ardour/waves_export_dialog.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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