Inform user if there have been dropouts during export

This commit is contained in:
Robin Gareus 2021-04-29 17:50:46 +02:00
parent 94d79a3809
commit 5014b20c5f
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -432,6 +432,12 @@ ExportDialog::show_progress ()
}
}
if (!status->aborted() && _session->export_xruns () > 0) {
std::string txt = string_compose (_("There have been %1 dropouts during realtime-export."), _session->export_xruns ());
Gtk::MessageDialog msg (txt, false, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_OK, true);
msg.run();
}
if (!status->aborted() && status->result_map.size() > 0) {
hide();
ExportReport er (_session, status);