#include "ardour/audioregion.h"
#include "ardour/export_status.h"
#include "ardour/export_handler.h"
+#include "ardour/profile.h"
#include "export_dialog.h"
#include "export_report.h"
#include "gui_thread.h"
#include "nag.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace ARDOUR;
using namespace PBD;
void
ExportDialog::show_progress ()
{
+ export_notebook.set_sensitive (false);
+
cancel_button->set_label (_("Stop Export"));
export_button->set_sensitive (false);
if (!status->aborted() && status->result_map.size() > 0) {
hide();
- ExportReport er (status);
+ ExportReport er (_session, status);
er.run();
}
if (!status->aborted()) {
hide();
-
- NagScreen* ns = NagScreen::maybe_nag (_("export"));
-
- if (ns) {
- ns->nag ();
- delete ns;
+ if (!ARDOUR::Profile->get_mixbus()) {
+ NagScreen* ns = NagScreen::maybe_nag (_("export"));
+ if (ns) {
+ ns->nag ();
+ delete ns;
+ }
}
} else {
notify_errors ();
}
+ export_notebook.set_sensitive (true);
}
gint