Post-export Analysis GUI
[ardour.git] / gtk2_ardour / export_dialog.cc
index acf34dcbbe76ccbc90879ce85f196dbd7b7fd554..006e8f5ba5cd25403383c2161d3e259d7dbaa1ad 100644 (file)
@@ -28,6 +28,7 @@
 #include "ardour/export_handler.h"
 
 #include "export_dialog.h"
+#include "export_report.h"
 #include "gui_thread.h"
 #include "nag.h"
 
@@ -318,7 +319,16 @@ ExportDialog::show_progress ()
                }
        }
 
+       status->finish ();
+
+       if (!status->aborted() && status->result_map.size() > 0) {
+               hide();
+               ExportReport er (status);
+               er.run();
+       }
+
        if (!status->aborted()) {
+               hide();
 
                NagScreen* ns = NagScreen::maybe_nag (_("export"));
 
@@ -329,8 +339,6 @@ ExportDialog::show_progress ()
        } else {
                notify_errors ();
        }
-
-       status->finish ();
 }
 
 gint