OSC: Changed gainVCA to gainfader as VCA is already used.
[ardour.git] / gtk2_ardour / export_dialog.cc
index 006e8f5ba5cd25403383c2161d3e259d7dbaa1ad..7c2e509a96a9e65040045bea239cf5aeba5bd9ce 100644 (file)
@@ -300,6 +300,8 @@ ExportDialog::do_export ()
 void
 ExportDialog::show_progress ()
 {
+       export_notebook.set_sensitive (false);
+
        cancel_button->set_label (_("Stop Export"));
        export_button->set_sensitive (false);
 
@@ -323,7 +325,7 @@ ExportDialog::show_progress ()
 
        if (!status->aborted() && status->result_map.size() > 0) {
                hide();
-               ExportReport er (status);
+               ExportReport er (_session, status);
                er.run();
        }
 
@@ -339,6 +341,7 @@ ExportDialog::show_progress ()
        } else {
                notify_errors ();
        }
+       export_notebook.set_sensitive (true);
 }
 
 gint