From 85cdff7cb01dc7a9bb61200d36b9b7c11c9e75d1 Mon Sep 17 00:00:00 2001 From: "Julien \"_FrnchFrgg_\" RIVAUD" Date: Wed, 20 Jul 2016 02:01:16 +0200 Subject: [PATCH] Use the new do_export() method when asked to export --- gtk2_ardour/editor_export_audio.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk2_ardour/editor_export_audio.cc b/gtk2_ardour/editor_export_audio.cc index 795091fb41..c1def2ba29 100644 --- a/gtk2_ardour/editor_export_audio.cc +++ b/gtk2_ardour/editor_export_audio.cc @@ -125,9 +125,7 @@ Editor::process_midi_export_dialog (MidiExportDialog& dialog, boost::shared_ptr< ::g_unlink (path.c_str()); } - (void) midi_region->clone (path); - - return true; + return midi_region->do_export (path); } /** Export the first selected region */